Skip to content

Commit

Permalink
fix: use default buildx builder
Browse files Browse the repository at this point in the history
This is a fix for the PR grafana#3015. Using an external builder will create
issues for docker loading images locally and then won't be able to push
the multi-platform images correctly.
  • Loading branch information
nrxr committed May 1, 2023
1 parent c6d8148 commit ebe912c
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -141,11 +141,7 @@ jobs:
fetch-depth: 0
- name: Build
run: |
docker buildx create \
--name multibuilder \
--platform linux/amd64,linux/arm64 \
--bootstrap --use
docker buildx build \
docker buildx --builder default build \
--platform linux/amd64,linux/arm64 \
-t $DOCKER_IMAGE_ID .
- name: Check
Expand Down

0 comments on commit ebe912c

Please sign in to comment.