Skip to content

Commit 8cc95c6

Browse files
committed
Upload branch image to ghcr
1 parent 0a27150 commit 8cc95c6

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/container-api-bn-recovery.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ on:
44
schedule:
55
- cron: "0 8 * * 4"
66
workflow_dispatch:
7+
# TODO: remove this push trigger before merging to master
8+
push:
9+
branches:
10+
- andrew/api-bn-recovery
711
pull_request:
812
paths:
913
- '.github/workflows/container-api-bn-recovery.yml'
@@ -73,7 +77,8 @@ jobs:
7377
echo "SHORT_SHA=${SHORT_SHA}" >> "$GITHUB_ENV"
7478
7579
- name: Push container image
76-
if: github.ref_name == 'master'
80+
# TODO: revert to github.ref_name == 'master' before merging
81+
if: github.ref_name == 'master' || github.ref_name == 'andrew/api-bn-recovery'
7782
run: |
7883
set -euo pipefail
7984
for tag in "${{ env.DATE }}" "${{ env.SHORT_SHA }}" latest; do

0 commit comments

Comments
 (0)