Don't always build backup db image

This commit is contained in:
Ajay 2022-05-17 01:51:11 -04:00
parent dfbc32617b
commit e79a8417f4
2 changed files with 18 additions and 8 deletions

18
.github/workflows/db-backup.yml vendored Normal file
View file

@ -0,0 +1,18 @@
name: Docker image builds
on:
push:
branches:
- master
paths:
- containers/backup-db/**
workflow_dispatch:
jobs:
backup-db:
uses: ./.github/workflows/docker-build.yml
with:
name: "db-backup"
username: "ajayyy"
folder: "./containers/backup-db"
secrets:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

View file

@ -21,13 +21,5 @@ jobs:
name: "rsync-host"
username: "ajayyy"
folder: "./containers/rsync"
secrets:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
backup-db:
uses: ./.github/workflows/docker-build.yml
with:
name: "db-backup"
username: "ajayyy"
folder: "./containers/backup-db"
secrets:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}