Skip to content

Commit

Permalink
feat: update deno-cd.yml to support multi-arch builds
Browse files Browse the repository at this point in the history
  • Loading branch information
wax911 committed Jan 2, 2025
1 parent 1727ddb commit 1899c83
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/deno-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,10 @@ jobs:
- name: Build and Push Docker Image
run: |
docker buildx create --use
docker buildx build --platform linux/amd64 . \
--output type=docker \
--tag ghcr.io/anitrend/on-the-edge:${{ steps.set-tag.outputs.tag }} \
docker buildx build \
--platform linux/amd64,linux/arm64 \
--cache-from type=registry,ref=ghcr.io/anitrend/on-the-edge:cache,mode=max \
--cache-to type=registry,ref=ghcr.io/anitrend/on-the-edge:cache
docker push ghcr.io/anitrend/on-the-edge:${{ steps.set-tag.outputs.tag }}
--cache-to type=registry,ref=ghcr.io/anitrend/on-the-edge:cache,mode=max \
--tag ghcr.io/anitrend/on-the-edge:${{ steps.set-tag.outputs.tag }} \
--push .
working-directory: .

0 comments on commit 1899c83

Please sign in to comment.