From 08b4a0b47442a8ec0f8cb594455d057823a72dc7 Mon Sep 17 00:00:00 2001 From: Csaba Apagyi Date: Wed, 30 Oct 2024 12:30:49 +0100 Subject: [PATCH] Fix heroku image push --- .github/workflows/release.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5031a521..aa0d0cfa 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -34,10 +34,13 @@ jobs: password: ${{ secrets.HEROKU_API_KEY }} - name: Docker build - uses: docker/build-push-action@v2 + uses: docker/build-push-action@v3 with: push: true - tags: registry.heroku.com/${{ env.HEROKU_STAGING_APP_NAME }}/web,registry.heroku.com/${{ env.HEROKU_PRODUCTION_APP_NAME }}/web + provenance: false # https://help.heroku.com/74S3XXMP/workaround-for-docker-push-error-405-method-not-allowed-using-buildkit-0-11 + tags: | + registry.heroku.com/${{ env.HEROKU_STAGING_APP_NAME }}/web + registry.heroku.com/${{ env.HEROKU_PRODUCTION_APP_NAME }}/web file: Dockerfile.prod cache-from: type=gha cache-to: type=gha