Skip to content

Commit f606ba7

Browse files
committed
CI: add bifrost to container sync filter
Without this, if an image build regex is provided then bifrost images would not also be synced.
1 parent e8aef27 commit f606ba7

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/stackhpc-container-image-build.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,10 +158,15 @@ jobs:
158158
# stackhpc-release-train repository.
159159
- name: Trigger container image repository sync
160160
run: |
161+
filter='${{ inputs.regexes }}'
162+
if [[ -n $filter ]] && [[ ${{ github.event.inputs.seed }} == 'true' ]]; then
163+
filter="$filter bifrost"
164+
fi
161165
gh workflow run \
162166
container-sync.yml \
163167
--repo stackhpc/stackhpc-release-train \
164-
--ref main
168+
--ref main \
169+
-f filter="$filter"
165170
env:
166171
GITHUB_TOKEN: ${{ secrets.STACKHPC_RELEASE_TRAIN_TOKEN }}
167172

0 commit comments

Comments
 (0)