Skip to content

Commit

Permalink
ci(docker): Fix arm64 support
Browse files Browse the repository at this point in the history
  • Loading branch information
malikzh committed Aug 23, 2024
1 parent 6b6ac14 commit 1779969
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/create-docker-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,21 +36,20 @@ jobs:
- name: Build project
run: ./gradlew -Pversion=$GITHUB_REF_NAME bootJar
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
with:
platforms: linux/amd64,linux/arm64
uses: docker/setup-buildx-action@v3
- name: Login to DockerHub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v3
uses: docker/build-push-action@v6
with:
push: true
tags: malikzh/ncanode:latest,malikzh/ncanode:${{ github.ref_name }}
build-args: artifact=build/libs/NCANode-${{ github.ref_name }}.jar
context: ./
file: ./Dockerfile
platforms: linux/amd64,linux/arm64

0 comments on commit 1779969

Please sign in to comment.