From cbaf435b5aa282a74718589c9ebc1007c98a96fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9s=20Alonzo?= <5524124+aalonzolu@users.noreply.github.com> Date: Sat, 10 Jan 2026 01:55:55 +0000 Subject: [PATCH 1/2] ARM Support --- .github/workflows/ci.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 50109b76d..3cb1b20a7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -24,6 +24,7 @@ jobs: - uses: actions/checkout@v4 with: fetch-depth: 0 + - uses: docker/setup-qemu-action@v3 - uses: docker/setup-buildx-action@v2 - uses: docker/login-action@v2 with: @@ -37,7 +38,7 @@ jobs: cache-from: type=gha cache-to: type=gha,mode=max target: ci - platforms: linux/amd64 + platforms: linux/amd64,linux/arm64 test: name: Test Suite @@ -103,7 +104,7 @@ jobs: cache-from: type=gha cache-to: type=gha,mode=max target: full - platforms: linux/amd64 + platforms: linux/amd64,linux/arm64 build-args: | VERSION=${{ steps.info.outputs.version }} BRANCH=${{ steps.info.outputs.branch }} @@ -133,4 +134,4 @@ jobs: target: full build-args: | VERSION=${{ needs.release-please.outputs.version }} - platforms: linux/amd64 + platforms: linux/amd64,linux/arm64 From 6c33a679940427036cbc22b48b0ab16e5b97ebd7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9s=20Alonzo?= <5524124+aalonzolu@users.noreply.github.com> Date: Sat, 10 Jan 2026 02:38:06 +0000 Subject: [PATCH 2/2] Fix CI git username --- .github/workflows/ci.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3cb1b20a7..0c3fcee47 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -34,7 +34,7 @@ jobs: - uses: docker/build-push-action@v4 with: push: true - tags: ghcr.io/postalserver/postal:ci-${{ github.sha }} + tags: ghcr.io/${{ github.repository_owner }}/postal:ci-${{ github.sha }} cache-from: type=gha cache-to: type=gha,mode=max target: ci @@ -55,10 +55,10 @@ jobs: password: ${{ secrets.GITHUB_TOKEN }} - run: docker compose pull env: - POSTAL_IMAGE: ghcr.io/postalserver/postal:ci-${{ github.sha }} + POSTAL_IMAGE: ghcr.io/${{ github.repository_owner }}/postal:ci-${{ github.sha }} - run: docker compose run postal sh -c 'bundle exec rspec' env: - POSTAL_IMAGE: ghcr.io/postalserver/postal:ci-${{ github.sha }} + POSTAL_IMAGE: ghcr.io/${{ github.repository_owner }}/postal:ci-${{ github.sha }} release-branch: name: Release (branch) @@ -81,7 +81,7 @@ jobs: password: ${{ secrets.GITHUB_TOKEN }} - id: info run: | - IMAGE=ghcr.io/postalserver/postal + IMAGE=ghcr.io/${{ github.repository_owner }}/postal REF="${GITHUB_REF#refs/heads/}" if [ -z "$REF" ]; then exit 1; fi @@ -127,8 +127,8 @@ jobs: with: push: true tags: | - ghcr.io/postalserver/postal:stable - ghcr.io/postalserver/postal:${{ needs.release-please.outputs.version }} + ghcr.io/${{ github.repository_owner }}/postal:stable + ghcr.io/${{ github.repository_owner }}/postal:${{ needs.release-please.outputs.version }} cache-from: type=gha cache-to: type=gha,mode=max target: full