File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 57
57
- docker push "$DOCKER_TAG_COMMIT"
58
58
59
59
- stage : Tag docker image with branch name
60
- if : branch IS present
60
+ if : type = push AND branch IS present
61
61
script :
62
62
- set -e
63
63
- docker pull "$DOCKER_TAG_COMMIT"
75
75
- docker push "$DOCKER_TAG_PR_NUM"
76
76
77
77
- stage : Tag docker image with git-tag
78
- if : tag IS present
78
+ if : type = push AND tag IS present
79
79
script :
80
80
- set -e
81
81
- docker pull "$DOCKER_TAG_COMMIT"
84
84
- docker push "$DOCKER_TAG_GITTAG"
85
85
86
86
- stage : Tag docker image as latest
87
- if : branch = master
87
+ if : type = push AND branch = master
88
88
script :
89
89
- set -e
90
90
- docker pull "$DOCKER_TAG_COMMIT"
93
93
- docker push "$DOCKER_TAG_LATEST"
94
94
95
95
- stage : Deploy new release on GitHub
96
- if : tag IS present
96
+ if : type = push AND branch = master AND tag IS present
97
97
script : skip
98
98
deploy :
99
99
- provider : releases
@@ -104,7 +104,7 @@ jobs:
104
104
tags : true
105
105
106
106
- stage : Deploy new release on PyPI
107
- if : tag IS present
107
+ if : type = push AND branch = master AND tag IS present
108
108
script : skip
109
109
deploy :
110
110
- provider : pypi
You can’t perform that action at this time.
0 commit comments