Skip to content

Commit

Permalink
Docker: update actions and explicit platform versions.
Browse files Browse the repository at this point in the history
  • Loading branch information
Flameeyes committed Aug 24, 2023
1 parent 1950be6 commit 514f872
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/docker-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
with:
platforms: 'linux/amd64,linux/arm64/v8'
platforms: 'linux/amd64,linux/arm64,linux/arm64/v8'

- name: Log in to the Container registry
uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9
Expand All @@ -40,14 +40,15 @@

- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@98669ae865ea3cffbcbaa878cf57c20bbf1c6c38
uses: docker/metadata-action@v4
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}

- name: Build and push Docker image
uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc
uses: docker/build-push-action@v4
with:
context: .
platforms: 'linux/amd64,linux/arm64,linux/arm64/v8'
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}

0 comments on commit 514f872

Please sign in to comment.