Commit 9e94082f authored by rajkumar's avatar rajkumar
Browse files

Updating deploy tasks using rules.

parent 87a53a76
......@@ -47,8 +47,8 @@ docker-build-prod:
- if: $CI_COMMIT_TAG
- if: $CI_COMMIT_REF_NAME =~ /^(\d+\.)?(\d+\.)?(\*|\d+)$/
except:
- triggers
#except:
# - triggers
script:
- docker login $CI_REGISTRY -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD
- docker build -t $CI_REGISTRY_IMAGE:$CI_COMMIT_TAG --build-arg configuration=production --build-arg basePath=/ena/submit/webin/ .
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment