Loading templates/gitlab-ci-docker.yml +3 −4 Original line number Diff line number Diff line Loading @@ -689,13 +689,12 @@ docker-publish: - if: '$CI_COMMIT_REF_NAME !~ $PROD_REF' when: never # exclude if $PUBLISH_ON_PROD disabled - if: '$PUBLISH_ON_PROD == "false" || $PUBLISH_ON_PROD == "no" || $PUBLISH_ON_PROD == ""' - if: '$PUBLISH_ON_PROD != "true"' when: never # exclude if snapshot is same as release image - if: '$DOCKER_SNAPSHOT_IMAGE == $DOCKER_RELEASE_IMAGE' when: never # if $AUTODEPLOY_TO_PROD: auto - if: $AUTODEPLOY_TO_PROD - if: '$AUTODEPLOY_TO_PROD == "true"' # else: manual + blocking - if: $PUBLISH_ON_PROD # this 'if' is useless but only prevents GitLab warning :( when: manual - when: manual Loading
templates/gitlab-ci-docker.yml +3 −4 Original line number Diff line number Diff line Loading @@ -689,13 +689,12 @@ docker-publish: - if: '$CI_COMMIT_REF_NAME !~ $PROD_REF' when: never # exclude if $PUBLISH_ON_PROD disabled - if: '$PUBLISH_ON_PROD == "false" || $PUBLISH_ON_PROD == "no" || $PUBLISH_ON_PROD == ""' - if: '$PUBLISH_ON_PROD != "true"' when: never # exclude if snapshot is same as release image - if: '$DOCKER_SNAPSHOT_IMAGE == $DOCKER_RELEASE_IMAGE' when: never # if $AUTODEPLOY_TO_PROD: auto - if: $AUTODEPLOY_TO_PROD - if: '$AUTODEPLOY_TO_PROD == "true"' # else: manual + blocking - if: $PUBLISH_ON_PROD # this 'if' is useless but only prevents GitLab warning :( when: manual - when: manual