diff options
| author | seth <[email protected]> | 2024-01-20 06:59:39 -0500 |
|---|---|---|
| committer | seth <[email protected]> | 2024-01-20 07:09:01 -0500 |
| commit | 5164d7f0a69eae5c069a9fdaa7e65ea8dca1dbed (patch) | |
| tree | 24f36f3636b6e1257d3f8b80f3632be1029868d1 | |
| parent | 1809becbe9e8e4ea065c1490b8d7f566abaf49bd (diff) | |
ci: specify image name when signing containers
| -rw-r--r-- | .github/workflows/build-image.yaml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/.github/workflows/build-image.yaml b/.github/workflows/build-image.yaml index 4271c37..a8087cc 100644 --- a/.github/workflows/build-image.yaml +++ b/.github/workflows/build-image.yaml @@ -95,9 +95,10 @@ jobs: env: DIGEST: ${{ steps.push.outputs.digest }} TAGS: ${{ steps.build.outputs.tags }} + IMAGE_NAME: ${{ inputs.image_name }} run: | images=() for tag in ${TAGS}; do - images+=("${tag}@${DIGEST}") + images+=("${REGISTRY}/${IMAGE_NAME}:${tag}@${DIGEST}") done cosign sign --yes "${images[@]}" |
