fix sign-step
All checks were successful
Docker Build Smart Logic / Build amd64 & arm64 (push) Successful in 24s
All checks were successful
Docker Build Smart Logic / Build amd64 & arm64 (push) Successful in 24s
This commit is contained in:
@@ -250,7 +250,13 @@ jobs:
|
||||
|
||||
- name: Sign image
|
||||
if: env.IS_TAG == 'true'
|
||||
shell: bash
|
||||
run: |
|
||||
echo "Signing image ${IMAGE_NAME}:${VERSION}"
|
||||
cosign sign --key ${{ secrets.COSIGN_KEY }} ${IMAGE_NAME}:${VERSION}
|
||||
echo "== Signing image =="
|
||||
IMAGE_NAME="${REGISTRY_HOST}/${IMAGE_BASE}"
|
||||
VERSION="$VERSION" # kommt vom Detect version Step
|
||||
|
||||
echo "Signing image ${IMAGE_NAME}:${VERSION}"
|
||||
cosign sign --key ${{ secrets.COSIGN_KEY }} "${IMAGE_NAME}:${VERSION}"
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user