diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f3fd8fbd..1d9c31a2 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -118,7 +118,7 @@ jobs: run: | cargo build --profile=production --target ${{ matrix.architectures.target-tupl }} - name: Upload artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: dscp-node-${{ matrix.architectures.arch }} path: | @@ -133,12 +133,12 @@ jobs: steps: - name: Download x86_64 Artifacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: dscp-node-x86_64 path: x86_64 - name: Download aarch64 Artifacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: dscp-node-aarch64 path: aarch64 @@ -178,7 +178,7 @@ jobs: ./dscp-node-${{ needs.get-version.outputs.version }}-runtime-wasm.tar.gz - name: Delete release latest if: ${{ needs.get-version.outputs.is_prerelease != 'true' }} - uses: actions/github-script@v6 + uses: actions/github-script@v7 with: github-token: ${{secrets.GITHUB_TOKEN}} script: | @@ -211,12 +211,12 @@ jobs: steps: - uses: actions/checkout@v4 - name: Setup QEMU - uses: docker/setup-qemu-action@v2 + uses: docker/setup-qemu-action@v3 with: platforms: linux/amd64 - name: Setup Docker Buildx id: buildx - uses: docker/setup-buildx-action@v2 + uses: docker/setup-buildx-action@v3 with: buildkitd-flags: --debug - name: Generate tags @@ -246,18 +246,18 @@ jobs: echo "DOCKERHUB_LATEST_TAG=" >> $GITHUB_OUTPUT fi; - name: Login to GitHub Container Registry - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: registry: ghcr.io username: ${{ github.repository_owner }} password: ${{ secrets.GITHUB_TOKEN }} - name: Login to Dockerhub Registry - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: username: ${{ secrets.DSCP_DOCKERHUB_USERNAME }} password: ${{ secrets.DSCP_DOCKERHUB_TOKEN }} - name: Build image - uses: docker/build-push-action@v4 + uses: docker/build-push-action@v5 with: builder: ${{ steps.buildx.outputs.name }} context: .