Skip to content

Commit

Permalink
fix(ci): set provenance: false on docker/build-push-action (#472)
Browse files Browse the repository at this point in the history
* fix(ci): set `provenance: false` on docker/build-push-action

* fix(ci): revert docker/build-push-action to v3
  • Loading branch information
felixerdy authored Mar 30, 2023
1 parent 6ae9dab commit 78d330b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -124,10 +124,10 @@ jobs:
password: ${{ secrets.GHCR_TOKEN }}

- name: Build container image and push to Docker Hub (not for PRs)
uses: docker/build-push-action@v4
uses: docker/build-push-action@v3
with:
push: ${{ github.event_name == 'push' || ( github.event_name == 'release' && github.event.action == 'published' ) }}
tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ steps.branch_info.outputs.branch_name }},${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ steps.branch_info.outputs.branch_name }}-${{ steps.branch_info.outputs.short_sha }}
context: ./
cache-to: type=local,dest=/tmp/.buildx-cache,mode=max
platforms: linux/amd64
provenance: false # https://github.com/docker/buildx/issues/1533

0 comments on commit 78d330b

Please sign in to comment.