Skip to content

Commit 0c6249d

Browse files
committed
Merge branch 'tinglwan-create-tag-skip-ci' into 'master'
Tinglwan create tag skip ci See merge request rac-docker-dev/oracle-database-operator!215
2 parents 22f1f1d + ee9bb97 commit 0c6249d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.gitlab-ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ build-operator:
44
IMAGE: "$DOCKER_REPO:$CI_COMMIT_BRANCH"
55
OP_YAML: oracle-database-operator.yaml
66
script:
7+
- echo $CI_COMMIT_TAG
78
- make docker-build IMG="$IMAGE"
89
- docker push "$IMAGE"
910
- newimage=$(docker inspect $IMAGE | python -c 'import json,sys; print json.load(sys.stdin)[0]["RepoDigests"][0]')
@@ -20,6 +21,7 @@ build-operator:
2021
except:
2122
variables:
2223
- $CI_COMMIT_MESSAGE =~ /\#skip-pipeline/
24+
- $CI_COMMIT_TAG != null
2325

2426
cleanup:
2527
stage: .post

0 commit comments

Comments
 (0)