Skip to content

Commit

Permalink
chore: update build workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
rayanebel committed Jan 9, 2025
1 parent 1f9f32a commit a4ccb1d
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ jobs:
echo "ARCH=${ARCH_NAME}"
echo "ARCH2=${{ env.ARCH_NAME}}"
echo "output_dir=${OUTPUT_DIR}" >> $GITHUB_OUTPUT
mkdir -p ${OUTPUT_DIR}
Expand All @@ -103,7 +102,14 @@ jobs:

images:
needs: binaries
runs-on: ubuntu-latest
strategy:
matrix:
os:
- ubuntu-latest
arch:
- amd64
- arm64
runs-on: ${{ matrix.os }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand Down Expand Up @@ -132,8 +138,10 @@ jobs:
org.opencontainers.image.name=${{ env.IMAGE_NAME }}
org.opencontainers.image.version=${{ github.ref_name }}
[email protected]
platforms: linux/amd64,linux/arm64
platforms: linux/${{matrix.arch}}
push: true
cache-from: type=gha
cache-to: type=gha,mode=max
tags: |-
ghcr.io/${{ github.repository_owner }}/${{ env.IMAGE_NAME }}:${{ github.ref_name }}
ghcr.io/${{ github.repository_owner }}/${{ env.IMAGE_NAME }}:latest
Expand Down

0 comments on commit a4ccb1d

Please sign in to comment.