Skip to content

Commit

Permalink
Merge pull request #34 from jbergstroem/feat/docker-arm-v2
Browse files Browse the repository at this point in the history
feat: build arm containers
  • Loading branch information
ihippik authored May 12, 2024
2 parents cdb1af1 + ec6fd2e commit af4a3de
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/github-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,17 @@ jobs:
push_to_registry:
name: Push Docker image to Docker Hub
runs-on: ubuntu-latest
env:
platforms: linux/amd64,linux/arm64
steps:
- name: Check out the repo
uses: actions/checkout@v4

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
with:
platforms: ${{ env.platforms }}

- name: Log in to Docker Hub
uses: docker/login-action@f4ef78c080cd8ba55a85445d5b36e214a81df20a
with:
Expand All @@ -25,10 +32,11 @@ jobs:
images: ihippik/wal-listener

- name: Build and push Docker image
uses: docker/build-push-action@3b5e8027fcad23fda98b2e3ac259d8d67585f671
uses: docker/build-push-action@v5.3.0
with:
context: .
file: ./Dockerfile
platforms: ${{ env.platforms }}
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}

0 comments on commit af4a3de

Please sign in to comment.