diff --git a/.github/workflows/docker_publish.yml b/.github/workflows/docker_publish.yml index b0e5038..553435b 100644 --- a/.github/workflows/docker_publish.yml +++ b/.github/workflows/docker_publish.yml @@ -32,7 +32,8 @@ jobs: uses: docker/metadata-action@9ec57ed1fcdbf14dcef7dfbe97b2010124a938b7 with: images: | - ghcr.io/${{ github.repository }} + ghcr.io/${{ github.repository }}:latest + ghcr.io/${{ github.repository }}:${{ github.event.release.name }} - name: Build and push Docker image id: push @@ -46,6 +47,6 @@ jobs: - name: Generate artifact attestation uses: actions/attest-build-provenance@v1 with: - subject-name: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} + subject-name: ghcr.io/${{ github.repository }}:${{ github.event.release.name }} subject-digest: ${{ steps.push.outputs.digest }} push-to-registry: true