diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index d86cf2171..ca464fef6 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -99,7 +99,7 @@ jobs: username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - name: Build the image - uses: docker/build-push-action@v5 + uses: docker/build-push-action@v6 with: platforms: linux/amd64 push: false @@ -131,7 +131,7 @@ jobs: password: ${{ secrets.ALIYUN_PWD }} - if: github.ref == 'refs/heads/main' name: Build and push the multi-arch images - uses: docker/build-push-action@v5 + uses: docker/build-push-action@v6 with: platforms: linux/amd64,linux/arm64 push: true diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 69d9e6e68..16a96c1f7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -41,7 +41,7 @@ jobs: username: ${{ secrets.ALIYUN_USERNAME }} password: ${{ secrets.ALIYUN_PWD }} - name: Build and push - uses: docker/build-push-action@v5 + uses: docker/build-push-action@v6 with: platforms: linux/amd64,linux/arm64 push: true