diff --git a/.github/workflows/create-docker-release.yml b/.github/workflows/create-docker-release.yml index 2a58e7c..36feeb1 100644 --- a/.github/workflows/create-docker-release.yml +++ b/.github/workflows/create-docker-release.yml @@ -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