Skip to content

Commit

Permalink
Build container images for both amd64 and arm64 platforms
Browse files Browse the repository at this point in the history
Signed-off-by: Anders Blockmar <blockmar@users.noreply.github.com>
  • Loading branch information
blockmar authored and jeffmendoza committed Dec 18, 2024
1 parent b00098d commit b1e2230
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,12 @@ jobs:
- run: ko publish -B ./cmd/allstar --tags ${{ github.ref_name }} --image-refs allstar.ref
env:
KO_DOCKER_REPO: ghcr.io/${{ github.repository_owner }}
KO_DEFAULTPLATFORMS: linux/arm64,linux/amd64
- run: ko publish -B ./cmd/allstar --tags ${{ github.ref_name }}-busybox --image-refs allstar-busybox.ref
env:
KO_DOCKER_REPO: ghcr.io/${{ github.repository_owner }}
KO_DEFAULTBASEIMAGE: cgr.dev/chainguard/busybox
KO_DEFAULTPLATFORMS: linux/arm64,linux/amd64
- run: |
echo "signing $(cat allstar.ref)"
cosign sign --yes -a git_sha="$GITHUB_SHA" "$(cat allstar.ref)"
Expand Down

0 comments on commit b1e2230

Please sign in to comment.