Skip to content
Snippets Groups Projects
Verified Commit 0954d059 authored by Martin Weise's avatar Martin Weise
Browse files
parent ac050e22
No related branches found
No related tags found
2 merge requests!387Wrong model,!384Wrong model
variables:
BUILD_VERSION: ""
HOSTALIASES: "./hosts"
DOCKER_HOST: "unix:///var/run/dind/docker.sock"
DOCKER_VERSION: "27"
......@@ -30,6 +31,13 @@ cache:
paths:
- .m2/repository
workflow:
rules:
- if: $CI_COMMIT_REF_NAME == "dev"
variables:
BUILD_VERSION: "+git.${CI_COMMIT_SHORT_SHA}"
- when: always
stages:
- lint
- build
......@@ -416,16 +424,10 @@ release-images:
- test-search-service
- test-search-service-init
- test-ui
variables:
BUILD_VERSION: ""
only:
refs:
- dev
- /^release-.*/
rules:
- if: $CI_COMMIT_REF_NAME == dev
variables:
BUILD_VERSION: "+git.${CI_COMMIT_SHORT_SHA}"
before_script:
- "docker logout ${CI_REGISTRY_URL}"
- "echo ${CI_REGISTRY_PASSWORD} | docker login --username ${CI_REGISTRY_USER} --password-stdin ${CI_REGISTRY_URL}"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment