Skip to content

Commit

Permalink
feat: 🎸 build multiplatform docker images
Browse files Browse the repository at this point in the history
  • Loading branch information
mpastecki committed Apr 15, 2024
1 parent 02ddb9e commit fede7df
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v2

uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Log in to Docker Hub
uses: docker/login-action@v1
with:
Expand All @@ -28,9 +31,10 @@ jobs:
images: ${{ secrets.ASSOCIATION_DOCKER_HUB_REPO }}

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

0 comments on commit fede7df

Please sign in to comment.