Skip to content

Build arm Docker image on linux runner #3948

Answered by till
till asked this question in Q&A
Apr 18, 2023 · 1 comments · 3 replies
Discussion options

You must be logged in to vote

Thanks for helping @caarlos0! Appreciate it.

I haven't done a release in a while and I thought this worked before. But maybe it was something that changed on the runner or in the docker actions. The following works (docker/setup-qemu-action takes care of it):

on:
  pull_request:

jobs:
  release_test:
    needs: test
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v3
      - uses: actions/setup-go@v3
        with:
          go-version-file: go.mod
      - uses: docker/setup-qemu-action@v2
      - uses: docker/setup-buildx-action@v2
      - uses: goreleaser/goreleaser-action@v2
        with:
          version: latest
          args: release --snapshot --clean

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@till
Comment options

@caarlos0
Comment options

@till
Comment options

Answer selected by till
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants