Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Verified Commit c8bcfd00 authored by Nicolas Gelot's avatar Nicolas Gelot
Browse files

ci: use CI_COMMIT_TAG as it is

parent a061631e
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -28,8 +28,8 @@ docker-build-image-latest:
docker-build-image-tag:
  extends: .docker
  script:
    - docker build -t $CI_REGISTRY_IMAGE:${CI_COMMIT_TAG/v/} -f app/Dockerfile app
    - docker push $CI_REGISTRY_IMAGE:${CI_COMMIT_TAG/v/}
    - docker build -t $CI_REGISTRY_IMAGE:$CI_COMMIT_TAG -f app/Dockerfile app
    - docker push $CI_REGISTRY_IMAGE:$CI_COMMIT_TAG
  rules:
    - if: '$CI_COMMIT_TAG'

@@ -75,4 +75,4 @@ deploy_production:
    forward:
      pipeline_variables: true
  variables:
    DOCKER_TAG: ${CI_COMMIT_TAG/v/}
    DOCKER_TAG: $CI_COMMIT_TAG