diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 04c8dc959..235d04aed 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -167,14 +167,14 @@ jobs: mkdir -p dist tar -xvf build/darwinia-x86_64-linux-gnu.tar.bz2 -C dist/ - name: Publish docker image - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v5 with: push: true context: . file: .maintain/docker/Dockerfile tags: ${{ env.DOCKER_REGISTRY }}/${{ github.repository }}:sha-${{ env.SHA }} - name: Publish docker image with tag - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v5 if: startsWith(github.ref, 'refs/tags/v') || startsWith(github.ref, 'refs/tags/pango') with: push: true diff --git a/.github/workflows/staging.yml b/.github/workflows/staging.yml index 59ccc8350..26847ff94 100644 --- a/.github/workflows/staging.yml +++ b/.github/workflows/staging.yml @@ -76,7 +76,7 @@ jobs: mkdir -p dist tar -xvf build/darwinia-x86_64-linux-gnu.tar.bz2 -C dist/ - name: Publish docker image - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v5 with: push: true context: .