Skip to content

Commit 433c65e

Browse files
committed
Add QEMU and buildx to docker actions
1 parent c591813 commit 433c65e

1 file changed

Lines changed: 11 additions & 2 deletions

File tree

.github/workflows/docker-image.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,19 @@ jobs:
1313
steps:
1414
- uses: actions/checkout@v4
1515

16+
- name: Set up QEMU
17+
uses: docker/setup-qemu-action@v3
18+
19+
- name: Set up Docker Buildx
20+
uses: docker/setup-buildx-action@v3
21+
1622
- name: Login to DockerHub
1723
uses: docker/login-action@v3
1824
with:
1925
username: ${{ secrets.DOCKER_USER }}
2026
password: ${{ secrets.DOCKER_TOKEN }}
2127

22-
- name: Build and push Docker images
28+
- name: Build and push multi-arch Docker images
2329
uses: docker/build-push-action@v6
2430
with:
2531
platforms: |
@@ -30,5 +36,8 @@ jobs:
3036
linux/mips64le,
3137
linux/s390x
3238
push: true
39+
pull: true
3340
no-cache: false
34-
tags: softinstigate/graalvm:latest,softinstigate/graalvm:${{ github.ref_name }}
41+
tags: |
42+
softinstigate/graalvm:latest,
43+
softinstigate/graalvm:${{ github.ref_name }}

0 commit comments

Comments
 (0)