Skip to content

Commit ee7c6d5

Browse files
committed
TRIVIAL: fix cosign in github action
1 parent 5f13019 commit ee7c6d5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/docker.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ jobs:
3838
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
3939
- name: Build and push
4040
uses: docker/build-push-action@v2
41+
id: build
4142
with:
4243
context: .
4344
push: true
@@ -46,5 +47,4 @@ jobs:
4647
- name: Sign the images
4748
env:
4849
DIGEST: ${{ steps.build.outputs.digest }}
49-
TAGS: ${{ steps.docker_meta.outputs.tags }}
50-
run: cosign sign --yes "${TAGS}@${DIGEST}"
50+
run: cosign sign --yes "${{ env.REGISTRY }}//${{ env.IMAGE_NAME }}@${DIGEST}"

0 commit comments

Comments
 (0)