From e6de8d1f7dc2efafe7c6d2ff7eceb4633b0c5985 Mon Sep 17 00:00:00 2001 From: Gerald Pinder Date: Sun, 23 Jul 2023 22:19:05 -0400 Subject: [PATCH] I forgot to save the ci file --- .gitlab-ci.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3d8a12b..548c686 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,3 +1,7 @@ +include: + - project: "wunker-bunker/ci-pipelines" + file: "/include/jobs.yml" + stages: - build @@ -45,6 +49,8 @@ default: - cosign login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY build: + extends: + - .docker-service stage: build id_tokens: SIGSTORE_ID_TOKEN: @@ -61,6 +67,5 @@ build: buildah tag $FULL_IMAGE_NAME:${TAGS} $FULL_IMAGE_NAME:$TAG buildah push $FULL_IMAGE_NAME:$TAG done - - DIGEST=($(buildah images --format '{{.Digest}}' $FULL_IMAGE_NAME:$TAGS)) - - IMAGE_DIGEST=$(buildah inspect --format='{{index .RepoDigests 0}}' $FULL_IMAGE_NAME:$TAGS) + - IMAGE_DIGEST=$(skopeo inspect --format='{{.Digest}}' docker://$FULL_IMAGE_NAME:$TAGS) - cosign sign $IMAGE_DIGEST