diff --git a/ee/api/build_crons.sh b/ee/api/build_crons.sh index 4d246265a..701c960fb 100644 --- a/ee/api/build_crons.sh +++ b/ee/api/build_crons.sh @@ -37,7 +37,7 @@ function build_crons(){ docker push ${DOCKER_REPO:-'local'}/crons:${tag}latest } [[ $SIGN_IMAGE -eq 1 ]] && { - cosign sign --key $SIGN_KEY ${DOCKER_REPO:-'local'}/crons:${image_tag} + cosign sign --key $SIGN_KEY ${DOCKER_REPO:-'local'}/crons:${git_sha1} } echo "completed crons build" }