From c4efd1ff89d4f95703a5e7240a62f621ec32d76f Mon Sep 17 00:00:00 2001 From: root <root@dafne.novalocal> Date: Thu, 24 Oct 2024 14:27:34 +0200 Subject: [PATCH] gitlab ci fix commit tag --- .gitlab-ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 81802c0..375e066 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -3,7 +3,7 @@ # file: /templates/.gitlab-ci-template.yml variables: - TOKEN_PORTAL_VERSION: "3.0.0" + TOKEN_PORTAL_VERSION: $CI_COMMIT_TAG PHP_VERSION: "8.2" DEB_VERSION: "11" BUILD_ARGS: |- @@ -25,6 +25,6 @@ build: --dockerfile "${CI_PROJECT_DIR}/Dockerfile" --destination "${CI_REGISTRY_IMAGE}:${CI_COMMIT_TAG}" --build-arg "TOKEN_PORTAL_VERSION=${TOKEN_PORTAL_VERSION}" - #rules: - # - if: $CI_COMMIT_TAG + rules: + - if: $CI_COMMIT_TAG -- GitLab