diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index afac33b..d5e63da 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -13,11 +13,6 @@ on: release: types: [published] - -env: - REGISTRY: hub.docker.com/r - IMAGE_NAME: ${{ github.repository }} - jobs: push_to_registry: name: Push Docker image to Docker Hub @@ -59,8 +54,7 @@ jobs: - name: Generate artifact attestation uses: actions/attest-build-provenance@v1 with: - subject-name: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME}} + subject-name: ${{ github.repository }} subject-digest: ${{ steps.push.outputs.digest }} - push-to-registry: true