1
0
Fork 0

Switch to privileged-ram-4gb runner

This commit is contained in:
Saibotk 2023-10-13 23:01:58 +00:00
parent 185623e4b7
commit c95d30f076

View file

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