From 9c3c5eebfbd849c31aabb6ae88ae3e1322588e71 Mon Sep 17 00:00:00 2001 From: Saibotk Date: Sat, 13 Aug 2022 16:45:29 +0000 Subject: [PATCH] Update .gitlab-ci.yml file --- .gitlab-ci.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index aa0106f..bdfff9c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -17,8 +17,7 @@ stages: build: stage: build tags: - - privileged - - ram-4gb + - privileged-ram-4gb script: - podman build --pull -t "$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG" . - podman push "$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG" @@ -26,7 +25,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//')"