Skip to content

Commit

Permalink
Fix heroku image push
Browse files Browse the repository at this point in the history
  • Loading branch information
thisismydesign authored Oct 30, 2024
1 parent 327056c commit 08b4a0b
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 08b4a0b

Please sign in to comment.