Skip to content
Snippets Groups Projects
Commit 3f4f3af9 authored by Jan Hartig's avatar Jan Hartig
Browse files

Update .gitlab-ci.yml file

parent 29fc482d
No related branches found
No related tags found
No related merge requests found
...@@ -24,7 +24,7 @@ build: ...@@ -24,7 +24,7 @@ build:
--dockerfile "${CI_PROJECT_DIR}/Dockerfile" --dockerfile "${CI_PROJECT_DIR}/Dockerfile"
--destination "$CI_REGISTRY_IMAGE:${tag}" --destination "$CI_REGISTRY_IMAGE:${tag}"
rules: rules:
- if: $CI_COMMIT_BRANCH - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
exists: exists:
- Dockerfile - Dockerfile
- if: '$CI_COMMIT_TAG =~ /^\d+\.\d+$/' - if: '$CI_COMMIT_TAG =~ /^\d+\.\d+$/'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment