The personal finance app for everyone
Add ARM target for Docker package publishing (#725)
Zach Gollwitzeree433ed7c805
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.ymlindex fbd496cf..d8275946 100644--- a/.github/workflows/ci.yml+++ b/.github/workflows/ci.yml@@ -2,8 +2,6 @@ name: CIon:pull_request:- push:- branches: [main]jobs:scan_ruby:diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.ymlindex c43ddeff..eee1f3d9 100644--- a/.github/workflows/publish.yml+++ b/.github/workflows/publish.yml@@ -64,9 +64,16 @@ jobs:build:name: Build docker image- runs-on: ubuntu-latestneeds: [ test ]+ runs-on: ubuntu-latest++ strategy:+ matrix:+ platform:+ - linux/amd64+ - linux/arm64/v8+permissions:contents: readpackages: write@@ -75,9 +82,11 @@ jobs:- name: Check out the repouses: actions/checkout@v4- - name: Set up Docker Context for Buildx- run: docker context create builders- shell: bash+ - name: Set up QEMU+ uses: docker/setup-qemu-action@v3++ - name: Set up Docker Buildx+ uses: docker/setup-buildx-action@v3- name: Log in to the container registryuses: docker/login-action@v3@@ -106,3 +115,6 @@ jobs:push: truetags: ${{ steps.meta.outputs.tags }}labels: ${{ steps.meta.outputs.labels }}+ platforms: ${{ matrix.platform }}+ cache-from: type=gha+ cache-to: type=gha,mode=max