Commit c2bac20a authored by nimrod's avatar nimrod
Browse files

Job for docker-compose pull.

The end goal is pulling and building in parallel and then deployment is
shorter.
parent ff186bc3
Loading
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
@@ -91,6 +91,17 @@ dummy:
  after_script: *docker-build-after-script
  artifacts: *build-artifacts

.compose-pull:
  image: *image
  stage: build
  variables:
    COMPOSE_DOCKER_CLI_BUILD: "1"
    DOCKER_BUILDKIT: "1"
  before_script:
    - *TAG
  script:
    - docker-compose pull --quiet

.compose-push:
  image: *image
  stage: deploy