From 8dd3829ea6e3618aab8883e0fce9b0f332522220 Mon Sep 17 00:00:00 2001 From: "Erik A. Brandstadmoen" Date: Wed, 24 Jul 2024 16:26:20 +0200 Subject: [PATCH] WIP --- .github/workflows/build.yml | 21 +++++++++------------ 1 file changed, 9 insertions(+), 12 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 89abcbaf..f1abedd5 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 @@ -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 }} @@ -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 }} @@ -263,12 +266,6 @@ jobs: REGISTRY: docker.io IMAGE_NAME: ${{ github.repository }} - strategy: - matrix: - arch: - - amd64 - - arm64 - steps: - name: Create combined docker manifest