Skip to content

Commit e79a841

Browse files
committed
Don't always build backup db image
1 parent dfbc326 commit e79a841

File tree

2 files changed

+18
-8
lines changed

2 files changed

+18
-8
lines changed

.github/workflows/db-backup.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Docker image builds
2+
on:
3+
push:
4+
branches:
5+
- master
6+
paths:
7+
- containers/backup-db/**
8+
workflow_dispatch:
9+
10+
jobs:
11+
backup-db:
12+
uses: ./.github/workflows/docker-build.yml
13+
with:
14+
name: "db-backup"
15+
username: "ajayyy"
16+
folder: "./containers/backup-db"
17+
secrets:
18+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/sb-server.yml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,5 @@ jobs:
2121
name: "rsync-host"
2222
username: "ajayyy"
2323
folder: "./containers/rsync"
24-
secrets:
25-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
26-
backup-db:
27-
uses: ./.github/workflows/docker-build.yml
28-
with:
29-
name: "db-backup"
30-
username: "ajayyy"
31-
folder: "./containers/backup-db"
3224
secrets:
3325
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)