Skip to content

Commit

Permalink
Add QEMU and buildx to docker actions
Browse files Browse the repository at this point in the history
  • Loading branch information
mkjsix committed Sep 3, 2024
1 parent c591813 commit 433c65e
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,19 @@ jobs:
steps:
- 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: Login to DockerHub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USER }}
password: ${{ secrets.DOCKER_TOKEN }}

- name: Build and push Docker images
- name: Build and push multi-arch Docker images
uses: docker/build-push-action@v6
with:
platforms: |
Expand All @@ -30,5 +36,8 @@ jobs:
linux/mips64le,
linux/s390x
push: true
pull: true
no-cache: false
tags: softinstigate/graalvm:latest,softinstigate/graalvm:${{ github.ref_name }}
tags: |
softinstigate/graalvm:latest,
softinstigate/graalvm:${{ github.ref_name }}

0 comments on commit 433c65e

Please sign in to comment.