Merge pull request #19832 from Homebrew/docker-release-fix

workflows/docker: fix release push
This commit is contained in:
Mike McQuaid 2025-04-28 07:44:00 +00:00 committed by GitHub
commit c4ea7ef4f7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -302,7 +302,7 @@ jobs:
image_args=("ghcr.io/homebrew/ubuntu${VERSION}@sha256:$(<"${RUNNER_TEMP}/digests/${VERSION}-x86_64")")
# odeprecated: remove 20.04 image in Homebrew >=4.7
if [[ "${VERSION}" != 20.04 ]]; then
if [[ "${VERSION}" != 20.04 && "${GITHUB_EVENT_NAME}" != "release" ]]; then
image_args+=("ghcr.io/homebrew/ubuntu${VERSION}@sha256:$(<"${RUNNER_TEMP}/digests/${VERSION}-arm64")")
fi