1
0
Fork 0

Update .gitlab-ci.yml file

This commit is contained in:
Saibotk 2022-08-13 16:45:29 +00:00
parent e727988a9a
commit 9c3c5eebfb

View file

@ -17,8 +17,7 @@ stages:
build: build:
stage: build stage: build
tags: tags:
- privileged - privileged-ram-4gb
- ram-4gb
script: script:
- podman build --pull -t "$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG" . - podman build --pull -t "$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG" .
- podman push "$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG" - podman push "$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG"
@ -26,7 +25,7 @@ build:
tagging-master: tagging-master:
stage: tag stage: tag
tags: tags:
- privileged - privileged-ram-4gb
script: script:
- podman pull "$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG" - 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: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:v' Dockerfile | sed -e 's/.*:v//')"