Compare commits
10 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 482cc46476 | |||
| 5e33afb807 | |||
| c1a7ffd9e8 | |||
| b528097b00 | |||
| 035811115e | |||
| f1ddee1b6e | |||
| 1b0631d4e8 | |||
| 6192b18a49 | |||
| fd222fc92a | |||
| bbc5245793 |
@@ -4,8 +4,8 @@ on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
- develop
|
||||
pull_request:
|
||||
tags:
|
||||
- "v*"
|
||||
|
||||
jobs:
|
||||
build:
|
||||
@@ -24,12 +24,49 @@ jobs:
|
||||
username: ${{ secrets.REGISTRY_USER }}
|
||||
password: ${{ secrets.REGISTRY_TOKEN }}
|
||||
|
||||
- name: Build and push image
|
||||
- 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/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}}
|
||||
type=semver,pattern={{major}}.{{minor}}
|
||||
type=sha
|
||||
type=raw,value=latest,enable={{is_default_branch}}
|
||||
|
||||
- name: Build and push to Gitea
|
||||
uses: docker/build-push-action@v6
|
||||
with:
|
||||
context: .
|
||||
file: ./Dockerfile
|
||||
push: true
|
||||
tags: |
|
||||
gitea.calahilstudios.com/${{ github.repository_owner }}/${{ github.event.repository.name }}:develop
|
||||
gitea.calahilstudios.com/${{ github.repository_owner }}/${{ github.event.repository.name }}:${{ github.sha }}
|
||||
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 }}
|
||||
|
||||
23
README.md
23
README.md
@@ -1,19 +1,14 @@
|
||||
# BackupBot 🤖
|
||||
|
||||
[](https://www.gnu.org/licenses/agpl-3.0)
|
||||
[](https://www.docker.com/)
|
||||
[](https://gitea.calahilstudios.com/calahil/backupbot)
|
||||
[](https://gitea.calahilstudios.com)
|
||||
[](https://scarf.sh)
|
||||
[](https://gitea.calahilstudios.com/calahil/backupbot)
|
||||
[](https://github.com/linuxserver/docker-duplicati/releases)
|
||||
[](https://github.com/linuxserver/docker-duplicati/packages)
|
||||
[](https://gitlab.com/linuxserver.io/docker-duplicati/container_registry)
|
||||
[](https://quay.io/repository/linuxserver.io/duplicati)
|
||||
[](https://hub.docker.com/r/linuxserver/duplicati)
|
||||
[](https://hub.docker.com/r/linuxserver/duplicati)
|
||||
[](https://ci.linuxserver.io/job/Docker-Pipeline-Builders/job/docker-duplicati/job/master/)
|
||||
[](https://ci-tests.linuxserver.io/linuxserver/duplicati/latest/index.html)
|
||||
|
||||

|
||||

|
||||
|
||||

|
||||
|
||||

|
||||

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