Merge pull request #19833 from Homebrew/arm64-release-images

workflow/docker: push tagged arm64 images
This commit is contained in:
Mike McQuaid 2025-04-29 07:32:19 +00:00 committed by GitHub
commit b69a620eff
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -153,7 +153,6 @@ jobs:
# odeprecated: remove 20.04 image in Homebrew >=4.7 # odeprecated: remove 20.04 image in Homebrew >=4.7
- version: "20.04" - version: "20.04"
arch: "arm64" arch: "arm64"
- arch: ${{ github.event_name == 'release' && 'arm64' }}
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
@ -302,7 +301,7 @@ jobs:
image_args=("ghcr.io/homebrew/ubuntu${VERSION}@sha256:$(<"${RUNNER_TEMP}/digests/${VERSION}-x86_64")") image_args=("ghcr.io/homebrew/ubuntu${VERSION}@sha256:$(<"${RUNNER_TEMP}/digests/${VERSION}-x86_64")")
# odeprecated: remove 20.04 image in Homebrew >=4.7 # odeprecated: remove 20.04 image in Homebrew >=4.7
if [[ "${VERSION}" != 20.04 && "${GITHUB_EVENT_NAME}" != "release" ]]; then if [[ "${VERSION}" != 20.04 ]]; then
image_args+=("ghcr.io/homebrew/ubuntu${VERSION}@sha256:$(<"${RUNNER_TEMP}/digests/${VERSION}-arm64")") image_args+=("ghcr.io/homebrew/ubuntu${VERSION}@sha256:$(<"${RUNNER_TEMP}/digests/${VERSION}-arm64")")
fi fi