diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a155edc..7624696 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -56,5 +56,5 @@ build: buildah tag $FULL_IMAGE_NAME:${TAGS} $FULL_IMAGE_NAME:${TAG} done - buildah push --all $FULL_IMAGE_NAME - - DIGEST=$(buildah images --format '{{.Digest}}' $FULL_IMAGE_NAME:$TAGS | head -n 1) + - DIGEST=($(buildah images --format '{{.Digest}}' $FULL_IMAGE_NAME:$TAGS)) - cosign sign -y --key $SIGNING_SECRET $FULL_IMAGE_NAME@$DIGEST \ No newline at end of file