diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index 4ecaa4c..ceac6a1 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -4,9 +4,6 @@ on: push: tags: [ 'v*.*.*' ] -permissions: - contents: write - env: # Use docker.io for Docker Hub if empty REGISTRY: ghcr.io @@ -18,7 +15,7 @@ jobs: runs-on: ubuntu-latest permissions: - contents: read + contents: write packages: write # This is used to complete the identity challenge # with sigstore/fulcio when running outside of PRs.