diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 166bf1d..ad5550f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -32,9 +32,9 @@ deploy-dev: when: on_success - when: manual script: - - docker stack deploy -c ./.deploy-swarmpit/deploy-dev.yaml swarmpit - - docker stack deploy -c ./.deploy-portainer/deploy-dev.yaml portainer - - docker stack deploy -c ./.deploy-infra/deploy-dev.yaml infra + - docker stack deploy --with-registry-auth -c ./.deploy-swarmpit/deploy-dev.yaml swarmpit + - docker stack deploy --with-registry-auth -c ./.deploy-portainer/deploy-dev.yaml portainer + - docker stack deploy --with-registry-auth -c ./.deploy-infra/deploy-dev.yaml infra deploy-prod: stage: deploy-prod @@ -46,6 +46,6 @@ deploy-prod: - master when: manual script: - - docker stack deploy -c ./.deploy-swarmpit/deploy-prod.yaml swarmpit - - docker stack deploy -c ./.deploy-portainer/deploy-prod.yaml portainer - - docker stack deploy -c ./.deploy-infra/deploy-prod.yaml infra + - docker stack deploy --with-registry-auth -c ./.deploy-swarmpit/deploy-prod.yaml swarmpit + - docker stack deploy --with-registry-auth -c ./.deploy-portainer/deploy-prod.yaml portainer + - docker stack deploy --with-registry-auth -c ./.deploy-infra/deploy-prod.yaml infra