Skip to content

Commit

Permalink
feat: workaround load not working with multi platforms
Browse files Browse the repository at this point in the history
  • Loading branch information
nijel committed Nov 5, 2024
1 parent 1d2981a commit de57b07
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,18 @@ jobs:
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.base.outputs.tags }}
labels: ${{ steps.base.outputs.labels }}
load: true
platforms: linux/amd64,linux/arm64

# This build should be cached, but needed to load
# image for dev container as load does not work with multiple
# platforms
- name: Build and load (base)
uses: docker/build-push-action@v6
with:
context: base
labels: ${{ steps.base.outputs.labels }}
load: true

- name: Build and push (dev)
uses: docker/build-push-action@v6
with:
Expand Down

0 comments on commit de57b07

Please sign in to comment.