Skip to content

Commit

Permalink
buildx, cross-platform and cache
Browse files Browse the repository at this point in the history
  • Loading branch information
steebchen committed Aug 14, 2024
1 parent 60d5a5a commit f87c3c5
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4

- name: Set up Docker buildx
uses: docker/setup-buildx-action@v3

- name: Log in to the Container registry
uses: docker/login-action@v3
with:
Expand All @@ -44,12 +47,17 @@ jobs:
uses: docker/build-push-action@v6
with:
context: .
file: ./Dockerfile
push: true
platforms: |
linux/amd64
linux/arm64
file: ./Dockerfile
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
build-args: |
PATHFINDER_FORCE_VERSION=v0.14.1-cartridge
cache-from: type=gha
cache-to: type=gha,mode=max`

- name: Generate artifact attestation
uses: actions/attest-build-provenance@v1
Expand Down

0 comments on commit f87c3c5

Please sign in to comment.