1
0
Fork 0

Update .gitlab-ci.yml file

This commit is contained in:
Saibotk 2022-08-13 15:58:16 +00:00
parent ee19a49ab9
commit d3a552b634

View file

@ -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/.*://')"