From d3a552b63450aea8e56525d7fabe6d6ba1ddaef9 Mon Sep 17 00:00:00 2001 From: Saibotk Date: Sat, 13 Aug 2022 15:58:16 +0000 Subject: [PATCH] Update .gitlab-ci.yml file --- .gitlab-ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2dee8f1..39a99a2 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -14,13 +14,15 @@ stages: build: stage: build tags: - - dind + - privileged script: - podman build --pull -t "$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG" . - podman push "$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG" tagging-master: stage: tag + tags: + - privileged script: - podman pull "$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG" - si-tagging -l "$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG" "$CI_REGISTRY_IMAGE" "$(grep -e 'docker.io/library/python:' Dockerfile | sed -e 's/.*://')"