From ddf9fb49e663a45286960ec11343bae04b30f035 Mon Sep 17 00:00:00 2001 From: Saibotk Date: Thu, 25 Jan 2024 23:43:10 +0000 Subject: [PATCH] fix ci version sed command --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f1bf634..2df6ddf 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -25,7 +25,7 @@ tagging-master: - privileged-ram-4gb 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 'FROM docker.io/gitlab/gitlab-runner:alpine-v' Dockerfile | sed -e 's/.*:v//')" + - si-tagging -l "$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG" "$CI_REGISTRY_IMAGE" "$(grep -e 'FROM docker.io/gitlab/gitlab-runner:alpine-v' Dockerfile | sed -e 's/.*:alpine-v//')" - podman images --format "{{.Repository}}:{{.Tag}}" "$CI_REGISTRY_IMAGE" | grep "$CI_REGISTRY_IMAGE" | xargs -L 1 podman push only: - master