Skip to content

Commit ee9bb97

Browse files
committed
Tinglwan create tag skip ci
1 parent 22f1f1d commit ee9bb97

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)