From 7016f897c62b363f6fd7a5786908493ab6200c5e Mon Sep 17 00:00:00 2001 From: David Newhall II Date: Wed, 17 Jan 2024 16:43:16 -0800 Subject: [PATCH] arm64 docker container --- .github/workflows/release.yml | 9 +++++++++ go.sum | 2 -- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 03621474..ed024863 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -182,6 +182,7 @@ jobs: DEPLOY_KEY: ${{ secrets.AUR_DEPLOY_KEY }} docker-ghcr-build-push: + if: github.ref != 'refs/heads/main' runs-on: ubuntu-latest permissions: contents: read @@ -194,6 +195,11 @@ jobs: - name: Checkout repository uses: actions/checkout@v4 + - name: Set up QEMU + uses: docker/setup-qemu-action@v2 + with: + platforms: 'arm64' + # Workaround: https://github.com/docker/build-push-action/issues/461 - name: Setup Docker buildx uses: docker/setup-buildx-action@v3 @@ -231,6 +237,9 @@ jobs: id: build-and-push uses: docker/build-push-action@v5 with: + platforms: |- + linux/amd64 + linux/arm64 context: . file: init/docker/Dockerfile push: ${{ github.event_name != 'pull_request' }} diff --git a/go.sum b/go.sum index 986813fd..4f07059a 100644 --- a/go.sum +++ b/go.sum @@ -362,8 +362,6 @@ golift.io/starr v1.0.0 h1:IDSaSL+ZYxdLT/Lg//dg/iwZ39LHO3D5CmbLCOgSXbI= golift.io/starr v1.0.0/go.mod h1:xnUwp4vK62bDvozW9QHUYc08m6kjwaZnGw3Db65fQHw= golift.io/version v0.0.2 h1:i0gXRuSDHKs4O0sVDUg4+vNIuOxYoXhaxspftu2FRTE= golift.io/version v0.0.2/go.mod h1:76aHNz8/Pm7CbuxIsDi97jABL5Zui3f2uZxDm4vB6hU= -golift.io/xtractr v0.2.3-0.20230904223736-8f3225005d9e h1:dvOZX3tN1zBVgYMh2pe0h/7wxJwtMTSjWOgHCOUIWZA= -golift.io/xtractr v0.2.3-0.20230904223736-8f3225005d9e/go.mod h1:nKvdcaQY6hfeKIB+dm3Yqts5E78z4Ow1wa9nV5Iq/lg= golift.io/xtractr v0.2.3-0.20231212122517-824f96efe4d8 h1:4BRc3tGHmCzQtD9qKAZcPpJ1kn/QOt4mrezv4QFOIiw= golift.io/xtractr v0.2.3-0.20231212122517-824f96efe4d8/go.mod h1:1kQhdZ5fbJ1CmifS20RJ7imv0sqpqSeWWnJ06FHUG7U= google.golang.org/api v0.4.0/go.mod h1:8k5glujaEP+g9n7WNsDg8QP6cUVNI86fCNMcbazEtwE=