From 2fa8c60b738272b66caef74718b87d31657f54cc Mon Sep 17 00:00:00 2001 From: Sheogorath <sheogorath@shivering-isles.com> Date: Wed, 6 Jan 2021 01:48:21 +0100 Subject: [PATCH] Fix CI_REGISTRY_BUILD_ARGS It appears that this variable never worked as intended and was always considered empty. /o\ --- gitlab-ci-template.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/gitlab-ci-template.yml b/gitlab-ci-template.yml index 14d0f01..78337f0 100644 --- a/gitlab-ci-template.yml +++ b/gitlab-ci-template.yml @@ -2,9 +2,6 @@ stages: - build - tag -variables: - CI_REGISTRY_BUILD_ARGS: "" - container-build: stage: build inherit: @@ -23,7 +20,7 @@ container-build: --label "org.opencontainers.image.revision=$CI_COMMIT_SHA" --label "org.opencontainers.image.created=$(date --rfc-3339 ns)" --label "org.opencontainers.image.title=$CI_PROJECT_TITLE" - $CI_REGISTRY_BUILD_ARGS + $(echo $CI_REGISTRY_BUILD_ARGS) -t "$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG-$CI_COMMIT_SHORT_SHA" . - podman push "$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG-$CI_COMMIT_SHORT_SHA" -- GitLab