Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 482cc46476 | |||
| 5e33afb807 |
@@ -24,11 +24,28 @@ jobs:
|
||||
username: ${{ secrets.REGISTRY_USER }}
|
||||
password: ${{ secrets.REGISTRY_TOKEN }}
|
||||
|
||||
- name: Docker metadata
|
||||
id: meta
|
||||
- name: Log in to Docker Hub
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||
|
||||
- name: Gitea metadata
|
||||
id: meta-gitea
|
||||
uses: docker/metadata-action@v5
|
||||
with:
|
||||
images: gitea.calahilstudios.com/${{ github.repository_owner }}/${{ github.event.repository.name }}
|
||||
images: gitea.calahilstudios.com/calahilstudios/${{ github.event.repository.name }}
|
||||
tags: |
|
||||
type=ref,event=branch
|
||||
type=semver,pattern={{version}}
|
||||
type=sha
|
||||
type=raw,value=latest,enable={{is_default_branch}}
|
||||
|
||||
- name: Docker Hub metadata
|
||||
id: meta-dockerhub
|
||||
uses: docker/metadata-action@v5
|
||||
with:
|
||||
images: ${{ secrets.DOCKERHUB_USERNAME }}/${{ github.event.repository.name }}
|
||||
tags: |
|
||||
type=ref,event=branch
|
||||
type=semver,pattern={{version}}
|
||||
@@ -36,11 +53,20 @@ jobs:
|
||||
type=sha
|
||||
type=raw,value=latest,enable={{is_default_branch}}
|
||||
|
||||
- name: Build and push image
|
||||
- name: Build and push to Gitea
|
||||
uses: docker/build-push-action@v6
|
||||
with:
|
||||
context: .
|
||||
file: ./Dockerfile
|
||||
push: true
|
||||
tags: ${{ steps.meta.outputs.tags }}
|
||||
labels: ${{ steps.meta.outputs.labels }}
|
||||
tags: ${{ steps.meta-gitea.outputs.tags }}
|
||||
labels: ${{ steps.meta-gitea.outputs.labels }}
|
||||
|
||||
- name: Build and push to Docker Hub
|
||||
uses: docker/build-push-action@v6
|
||||
with:
|
||||
context: .
|
||||
file: ./Dockerfile
|
||||
push: true
|
||||
tags: ${{ steps.meta-dockerhub.outputs.tags }}
|
||||
labels: ${{ steps.meta-dockerhub.outputs.labels }}
|
||||
|
||||
15
README.md
15
README.md
@@ -1,13 +1,14 @@
|
||||
# BackupBot 🤖
|
||||
|
||||
[](https://www.gnu.org/licenses/agpl-3.0)
|
||||
[](https://www.docker.com/)
|
||||
[](https://gitea.calahilstudios.com)
|
||||

|
||||

|
||||
|
||||
[](https://hub.docker.com/r/linuxserver/duplicati)
|
||||
[](https://hub.docker.com/r/linuxserver/duplicati)
|
||||

|
||||

|
||||
|
||||

|
||||
|
||||

|
||||

|
||||
|
||||
|
||||
> **Automated Docker backup system for PostgreSQL databases and application configurations with Duplicati integration**
|
||||
|
||||
|
||||
Reference in New Issue
Block a user