Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
erikbra committed Jul 24, 2024
1 parent f921af2 commit 8dd3829
Showing 1 changed file with 9 additions and 12 deletions.
21 changes: 9 additions & 12 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -216,9 +216,11 @@ jobs:

strategy:
matrix:
arch:
- amd64
- arm64
config:
- arch: amd64
os: linux-musl
- arch: arm64
os: linux

steps:
- uses: actions/checkout@v4
Expand All @@ -235,7 +237,7 @@ jobs:
with:
tags: |
type=semver,pattern={{version}}
type=semver,pattern={{version}},value=${{ needs.set-version-number.outputs.semVer }}-${{ matrix.arch }}
type=semver,pattern={{version}},value=${{ needs.set-version-number.outputs.semVer }}-${{ matrix.config.arch }}
type=ref,event=tag
images: ${{ env.IMAGE_NAME }}
Expand All @@ -248,8 +250,9 @@ jobs:
context: .
push: false
build-args:
arch=${{ matrix.arch }}
platforms: linux/${{ matrix.arch }}
arch=${{ matrix.config.arch }}
os=${{ matrix.config.os }}
platforms: linux/${{ matrix.config.arch }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}

Expand All @@ -263,12 +266,6 @@ jobs:
REGISTRY: docker.io
IMAGE_NAME: ${{ github.repository }}

strategy:
matrix:
arch:
- amd64
- arm64

steps:

- name: Create combined docker manifest
Expand Down

0 comments on commit 8dd3829

Please sign in to comment.