fix: Allow user supplied registry to be set in the template (#135)

This commit is contained in:
Gerald Pinder 2024-03-25 20:27:34 -04:00 committed by GitHub
parent 2c98a7abc6
commit ab11362a0d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 61 additions and 27 deletions

View file

@ -121,6 +121,8 @@ jobs:
BB_BUILDKIT_CACHE_GHA: true
run: |
cd integration-tests/test-repo
bluebuild template -vv | tee Containerfile
grep -q 'ARG IMAGE_REGISTRY=ghcr.io/blue-build' Containerfile || exit 1
if [ -n "$GH_TOKEN" ] && [ -n "$COSIGN_PRIVATE_KEY" ]; then
bluebuild build --push -vv
else

View file

@ -135,4 +135,6 @@ jobs:
BB_BUILDKIT_CACHE_GHA: true
run: |
cd integration-tests/test-repo
bluebuild template -vv | tee Containerfile
grep -q 'ARG IMAGE_REGISTRY=ghcr.io/blue-build' Containerfile || exit 1
bluebuild build --push -vv