Skip to content

Commit

Permalink
add multi-arch build (amd64 and arm64)
Browse files Browse the repository at this point in the history
  • Loading branch information
b4iterdev committed Nov 22, 2024
1 parent ef45f6b commit 08e3e27
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/build-and-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,11 @@ jobs:
- name: Check out the code
uses: actions/checkout@v4

- name: Set up QEMU
uses: docker/setup-qemu-action@v2

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
uses: docker/setup-buildx-action@v3.2.0

- name: Log in to Docker Hub
uses: docker/login-action@v3
Expand All @@ -31,6 +34,7 @@ jobs:
uses: docker/build-push-action@v6
with:
context: .
platforms: linux/amd64,linux/arm64
push: true
tags: |
ghcr.io/valospectra/overlay:latest
Expand Down

0 comments on commit 08e3e27

Please sign in to comment.