File tree Expand file tree Collapse file tree 3 files changed +16
-0
lines changed
build_with_dockerfile/tasks Expand file tree Collapse file tree 3 files changed +16
-0
lines changed Original file line number Diff line number Diff line change 11---
22# commands to build an image from a repo that contains a Dockerfile
3+ - name : Ensure Tag Deploy For Prod
4+ tags : deploy
5+ when : not git_branch | match("^v([0-9]+)\.([0-9]+)\.([0-9]+)$") and node_env=="production-delta"
6+ fail : msg="only tag can be deployed on prod not {{ git_branch }}"
7+
38- name : create build folder
49 become : true
510 file :
Original file line number Diff line number Diff line change 11---
22# commands to build an image
3+ #
4+ - name : Ensure Tag Deploy For Prod
5+ tags : deploy
6+ when : not git_branch | match("^v([0-9]+)\.([0-9]+)\.([0-9]+)$") and node_env=="production-delta"
7+ fail : msg="only tag can be deployed on prod not {{ git_branch }}"
8+
39- name : create build folder
410 become : true
511 file :
Original file line number Diff line number Diff line change 11---
2+ - name : Ensure Tag Deploy For Prod
3+ tags : deploy
4+ when : not git_branch | match("^v([0-9]+)\.([0-9]+)\.([0-9]+)$") and node_env=="production-delta"
5+ fail : msg="only tag can be deployed on prod not {{ git_branch }}"
6+
27- name : Display Git Repo Name
38 debug :
49 msg : " application Installed: {{ app_name }}, branch : {{ git_branch }} "
You can’t perform that action at this time.
0 commit comments