diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 3a41d1e..907f317 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -125,18 +125,12 @@ jobs: boxboat/dockcmd:${{ env.CI_VERSION }} ghcr.io/boxboat/dockcmd:${{ env.CI_VERSION }} - - name: Attest ghcr image + - name: Attest image if: ${{ env.PUBLISH == 'yes' }} uses: actions/attest-build-provenance@v2 with: - subject-name: ghcr.io/boxboat/dockcmd:${{ env.CI_VERSION }} + subject-name: | + ghcr.io/boxboat/dockcmd + boxboat/dockcmd subject-digest: ${{ steps.push.outputs.digest }} push-to-registry: true - - - name: Attest hub image - if: ${{ env.PUBLISH == 'yes' }} - uses: actions/attest-build-provenance@v2 - with: - subject-name: boxboat/dockcmd:${{ env.CI_VERSION }} - subject-digest: ${{ steps.push.outputs.digest }} - push-to-registry: true \ No newline at end of file