Skip to content

Commit

Permalink
Set builder
Browse files Browse the repository at this point in the history
  • Loading branch information
rolandgeider committed Jul 12, 2023
1 parent e845b31 commit 4615460
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ jobs:
uses: docker/setup-qemu-action@v2.2.0

- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v2.9.0
with:
install: true
Expand All @@ -94,12 +95,14 @@ jobs:
with:
context: .
file: extras/docker/development/Dockerfile
builder: ${{ steps.buildx.outputs.name }}
platforms: ${{ matrix.platform }}
labels: ${{ steps.meta.outputs.labels }}
outputs: type=image,name=${{ env.REGISTRY_IMAGE }},push-by-digest=true,name-canonical=true,push=true

# https://github.com/moby/buildkit#--export-cache-options
# https://github.com/docker/buildx#--cache-tonametypetypekeyvalue
cache-from: type=local,src=/tmp/.buildx-cache
# More: https://github.com/moby/buildkit#--export-cache-options
# And: https://github.com/docker/buildx#--cache-tonametypetypekeyvalue
cache-to: type=local,mode=max,dest=/tmp/.buildx-cache-new

- name: Export digest
Expand Down

0 comments on commit 4615460

Please sign in to comment.