From 2a276be0591dff248f0551196523c2ab451862b2 Mon Sep 17 00:00:00 2001 From: Saibotk Date: Thu, 7 Jan 2021 19:16:49 +0000 Subject: [PATCH] Fix tag extraction --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 65f1299..2dee8f1 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -23,7 +23,7 @@ tagging-master: stage: tag 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/.*:v//')" + - si-tagging -l "$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG" "$CI_REGISTRY_IMAGE" "$(grep -e 'docker.io/library/python:' Dockerfile | sed -e 's/.*://')" - podman images --format "{{.Repository}}:{{.Tag}}" "$CI_REGISTRY_IMAGE" | grep "$CI_REGISTRY_IMAGE" | xargs -L 1 podman push only: - master