Skip to content

Commit

Permalink
Use official Docker buildx action
Browse files Browse the repository at this point in the history
  • Loading branch information
adriankumpf committed Oct 4, 2020
1 parent 0c2f14f commit 6d4304d
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions .github/workflows/buildx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,15 @@ jobs:
echo ::set-output name=version::${VERSION}
echo ::set-output name=buildx_args::--platform ${DOCKER_PLATFORMS} \
${TAGS} --file Dockerfile .
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
with:
platforms: all
- name: Set up Docker Buildx
uses: crazy-max/ghaction-docker-buildx@v3
id: buildx
uses: docker/setup-buildx-action@v1
with:
version: latest
- name: Checkout
uses: actions/checkout@v2
- name: Cache Docker layers
Expand Down Expand Up @@ -108,8 +115,15 @@ jobs:
echo ::set-output name=version::${VERSION}
echo ::set-output name=buildx_args::--platform ${DOCKER_PLATFORMS} \
${TAGS} --file Dockerfile .
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
with:
platforms: all
- name: Set up Docker Buildx
uses: crazy-max/ghaction-docker-buildx@v3
id: buildx
uses: docker/setup-buildx-action@v1
with:
version: latest
- name: Checkout
uses: actions/checkout@v2
- name: Cache Docker layers
Expand Down

0 comments on commit 6d4304d

Please sign in to comment.