My release workflow uses GoReleaser to build multiple images, push them to a registry, and then attest them using a config like this:
# attest images
- uses: actions/attest@508db95dd578ae2727ebd6217d5ba78e4fbda05d # v4.2.1
with:
subject-checksums: ./dist/digests.txt
push-to-registry: true
Recently since I bumped the version of the attest action I see an error message:
Error: Error: push-to-registry requires exactly one subject but 4 subjects were resolved
This seems to be a result of #447.
Is this behaviour intentional? Can this action be updated to support pushing attestations for multiple images?
I believe this is expected to work based on the GoReleaser docs which mention this action.
My release workflow uses GoReleaser to build multiple images, push them to a registry, and then attest them using a config like this:
Recently since I bumped the version of the attest action I see an error message:
This seems to be a result of #447.
Is this behaviour intentional? Can this action be updated to support pushing attestations for multiple images?
I believe this is expected to work based on the GoReleaser docs which mention this action.