Skip to content

Commit

Permalink
fix: blackout armv6/ armv7 builds
Browse files Browse the repository at this point in the history
Fixes the issue in helium#415
  • Loading branch information
shawaj committed Apr 11, 2023
1 parent 58f0126 commit 4a4f978
Showing 1 changed file with 9 additions and 12 deletions.
21 changes: 9 additions & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -143,13 +143,10 @@ jobs:
with:
fetch-depth: 0

- name: Setup | QEMU
uses: docker/setup-qemu-action@v2

- name: Setup | Docker
uses: docker/setup-buildx-action@v2
with:
platforms: linux/amd64,linux/arm64,linux/arm/v7,linux/arm/v6
platforms: linux/amd64,linux/arm64

- name: Setup | Quay.io
uses: docker/login-action@v2
Expand All @@ -175,9 +172,9 @@ jobs:
BUILDX_NO_DEFAULT_ATTESTATIONS: 1
with:
push: true
platforms: linux/amd64,linux/arm64,linux/arm/v7,linux/arm/v6
labels: VERSION="${{ env.image_tag }}"
tags: quay.io/team-helium/test-images:gateway-"${{ env.image_tag }}"
platforms: linux/amd64,linux/arm64
labels: "VERSION=${{ env.image_tag }}"
tags: "quay.io/team-helium/test-images:gateway-${{ env.image_tag }}"
cache-from: type=gha
cache-to: type=gha,mode=max

Expand All @@ -191,10 +188,10 @@ jobs:
BUILDX_NO_DEFAULT_ATTESTATIONS: 1
with:
push: true
platforms: linux/amd64,linux/arm64,linux/arm/v7,linux/arm/v6
labels: VERSION="${GITHUB_REF#refs/*/}"
tags: |
quay.io/team-helium/miner:gateway-"${GITHUB_REF#refs/*/}" \
quay.io/team-helium/miner:gateway-latest \
platforms: linux/amd64,linux/arm64
labels: "VERSION=${GITHUB_REF#refs/*/}"
tags: |
quay.io/team-helium/miner:gateway-${GITHUB_REF#refs/*/}
quay.io/team-helium/miner:gateway-latest
cache-from: type=gha
cache-to: type=gha,mode=max

0 comments on commit 4a4f978

Please sign in to comment.