Loading .gitlab-ci.yml +7 −0 Original line number Diff line number Diff line Loading @@ -7,6 +7,13 @@ variables: image: docker:git services: - docker:latest rules: # Auto-run on master - if: '$CI_COMMIT_BRANCH == "master"' when: on_success # Manual for all other branches - when: manual script: - "docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY" - "docker pull $CI_REGISTRY_IMAGE:$IMAGE_TAG || true" Loading Loading
.gitlab-ci.yml +7 −0 Original line number Diff line number Diff line Loading @@ -7,6 +7,13 @@ variables: image: docker:git services: - docker:latest rules: # Auto-run on master - if: '$CI_COMMIT_BRANCH == "master"' when: on_success # Manual for all other branches - when: manual script: - "docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY" - "docker pull $CI_REGISTRY_IMAGE:$IMAGE_TAG || true" Loading