Skip to content

Commit

Permalink
fix manifest issue
Browse files Browse the repository at this point in the history
using platforms: … creates a multi-arch manifest an thus it fails on the  Create branch/tag manifest and push step as it has two multi-arch manifests

Signed-off-by: Alejandro M. Ramallo <[email protected]>
  • Loading branch information
aramallo committed Jan 29, 2025
1 parent 8dbed9f commit 262cc41
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/docker-debian.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ jobs:
runs-on: ubuntu-24-arm64-4x

steps:
# Not strictly required as it should default based on runner)
- name: Set Platform to arm64
run: echo "DOCKER_DEFAULT_PLATFORM=linux/arm64" >> $GITHUB_ENV

- uses: actions/checkout@v4

- name: Set up QEMU
Expand Down Expand Up @@ -64,13 +68,16 @@ jobs:
push: true
context: .
file: ./deployment/Dockerfile
platforms: linux/arm64
tags: leapsight/${{ steps.meta.outputs.tags }}-arm64

build-push-x64:
runs-on: ubuntu-latest

steps:
# Not strictly required as it should default based on runner)
- name: Set Platform to amd64
run: echo "DOCKER_DEFAULT_PLATFORM=linux/amd64" >> $GITHUB_ENV

- uses: actions/checkout@v4

- name: Set up QEMU
Expand Down Expand Up @@ -120,7 +127,6 @@ jobs:
push: true
context: .
file: ./deployment/Dockerfile
platforms: linux/amd64
tags: leapsight/${{ steps.meta.outputs.tags }}-amd64
labels: ${{ steps.meta.outputs.labels }}

Expand Down

0 comments on commit 262cc41

Please sign in to comment.