Update .gitlab-ci.yml file
This commit is contained in:
parent
ee19a49ab9
commit
d3a552b634
1 changed files with 3 additions and 1 deletions
|
@ -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/.*://')"
|
||||
|
|
Reference in a new issue