Skip to content

Commit 1779969

Browse files
committed
ci(docker): Fix arm64 support
1 parent 6b6ac14 commit 1779969

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.github/workflows/create-docker-release.yml

+4-5
Original file line numberDiff line numberDiff line change
@@ -36,21 +36,20 @@ jobs:
3636
- name: Build project
3737
run: ./gradlew -Pversion=$GITHUB_REF_NAME bootJar
3838
- name: Set up QEMU
39-
uses: docker/setup-qemu-action@v2
39+
uses: docker/setup-qemu-action@v3
4040
- name: Set up Docker Buildx
41-
uses: docker/setup-buildx-action@v2
42-
with:
43-
platforms: linux/amd64,linux/arm64
41+
uses: docker/setup-buildx-action@v3
4442
- name: Login to DockerHub
4543
uses: docker/login-action@v2
4644
with:
4745
username: ${{ secrets.DOCKERHUB_USERNAME }}
4846
password: ${{ secrets.DOCKERHUB_TOKEN }}
4947
- name: Build and push
50-
uses: docker/build-push-action@v3
48+
uses: docker/build-push-action@v6
5149
with:
5250
push: true
5351
tags: malikzh/ncanode:latest,malikzh/ncanode:${{ github.ref_name }}
5452
build-args: artifact=build/libs/NCANode-${{ github.ref_name }}.jar
5553
context: ./
5654
file: ./Dockerfile
55+
platforms: linux/amd64,linux/arm64

0 commit comments

Comments
 (0)