workflows/docker: fix release push

This commit is contained in:
Bo Anderson 2025-04-28 04:01:20 +01:00
parent 9ae847dcae
commit 7ce03b66f1
No known key found for this signature in database

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