Skip to content

Commit

Permalink
Build and push multi-arch Docker images in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
sandhose committed Mar 3, 2022
1 parent e0210dd commit 91b8a7f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v2

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1

- name: Log into registry ${{ env.REGISTRY }}
uses: docker/login-action@v1
with:
Expand All @@ -39,6 +42,7 @@ jobs:
- name: Build and push Docker image
uses: docker/build-push-action@v2
with:
platforms: linux/amd64,linux/arm64,linux/arm/v7
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}

0 comments on commit 91b8a7f

Please sign in to comment.