only build if we can push to at least one registry

This commit is contained in:
Jade Ellis 2025-01-09 17:59:05 +00:00
parent 892c0f4d49
commit 2734a653df
No known key found for this signature in database
GPG key ID: 8705A2A3EBF77BD2

View file

@ -82,7 +82,8 @@ jobs:
}))
build-image:
runs-on: ubuntu-latest
# only build if we can push to at least one registry
if: needs.define-variables.outputs.images != ''
needs: define-variables
# Sets the permissions granted to the `GITHUB_TOKEN` for the actions in this job.
permissions: