From f4ae2a4bb6e6a5fac54804851cf8aff766d8b0f5 Mon Sep 17 00:00:00 2001 From: Timothy Langer Date: Wed, 12 Aug 2026 15:30:02 -0400 Subject: [PATCH] feat: publish linux/arm64 Docker images Upstream's dockers_v2 migration (#540) did the heavy lifting, so publishing arm64 images now only requires listing the platform and providing emulation: - .goreleaser.yml: add linux/arm64 to the dockers_v2 platforms; the release now pushes a single multi-platform manifest to Docker Hub and GCR. - release.yaml: set up QEMU so the arm64 layers can be built on the amd64 runner. - release-tests.yaml: likewise for the snapshot build, which builds one image per platform (tags suffixed -amd64/-arm64) without pushing. Closes #531 --- .github/workflows/release-tests.yaml | 3 +++ .github/workflows/release.yaml | 3 +++ .goreleaser.yml | 1 + 3 files changed, 7 insertions(+) diff --git a/.github/workflows/release-tests.yaml b/.github/workflows/release-tests.yaml index f4244a3b..1897090e 100644 --- a/.github/workflows/release-tests.yaml +++ b/.github/workflows/release-tests.yaml @@ -23,6 +23,9 @@ jobs: uses: actions/checkout@v1 with: path: ./src/github.com/${{ github.repository }} + - name: Set up QEMU + # emulates arm64 so the snapshot linux/arm64 image can be built on this runner + uses: docker/setup-qemu-action@96fe6ef7f33517b61c61be40b68a1882f3264fb8 # v4.2.0 - name: GoReleaser Action uses: goreleaser/goreleaser-action@f06c13b6b1a9625abc9e6e439d9c05a8f2190e94 # v7.2.3 with: diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index f36f322a..14265351 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -31,6 +31,9 @@ jobs: ref: "master" # include tags so we can determine new version fetch-depth: 0 + - name: Set up QEMU + # emulates arm64 so the linux/arm64 image can be built on this runner + uses: docker/setup-qemu-action@96fe6ef7f33517b61c61be40b68a1882f3264fb8 # v4.2.0 - name: Set up Docker Buildx # dockers_v2 builds via `docker buildx build`; goreleaser expects the # docker-container driver, which this action configures by default diff --git a/.goreleaser.yml b/.goreleaser.yml index 02cec0e8..872ea709 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -111,6 +111,7 @@ dockers_v2: - doppler platforms: - linux/amd64 + - linux/arm64 images: - dopplerhq/cli - gcr.io/dopplerhq/cli