Skip to content

Commit bdd8be9

Browse files
authored
Merge pull request #16 from hegerdes/feat/arm64-image-support
Feat: Add arm64 docker image support - closes #15
2 parents bd8aaa5 + be3900c commit bdd8be9

1 file changed

Lines changed: 11 additions & 4 deletions

File tree

.github/workflows/docker-image.yml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,23 +12,30 @@ jobs:
1212
steps:
1313
- name: Check out the repo
1414
uses: actions/checkout@v2
15-
15+
16+
- name: Set up QEMU
17+
uses: docker/setup-qemu-action@2b82ce82d56a2a04d2637cd93a637ae1b359c0a7
18+
19+
- name: Set up Docker Buildx
20+
uses: docker/setup-buildx-action@4c0219f9ac95b02789c1075625400b2acbff50b1
21+
1622
- name: Log in to Docker Hub
1723
uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9
1824
with:
1925
username: ${{ secrets.DOCKER_USERNAME }}
2026
password: ${{ secrets.DOCKER_PASSWORD }}
21-
27+
2228
- name: Extract metadata (tags, labels) for Docker
2329
id: meta
2430
uses: docker/metadata-action@98669ae865ea3cffbcbaa878cf57c20bbf1c6c38
2531
with:
2632
images: wacken/hetzner-load-balancer-prometheus-exporter
27-
33+
2834
- name: Build and push Docker image
2935
uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc
3036
with:
3137
context: .
3238
push: true
3339
tags: ${{ steps.meta.outputs.tags }}
34-
labels: ${{ steps.meta.outputs.labels }}
40+
labels: ${{ steps.meta.outputs.labels }}
41+
platforms: linux/amd64,linux/arm64

0 commit comments

Comments
 (0)