Skip to content

Commit c5c026c

Browse files
committed
(fix): failing pipeline as latest image doesnt exist
1 parent 513167e commit c5c026c

1 file changed

Lines changed: 3 additions & 7 deletions

File tree

.gitlab/ci/deploy_services.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,11 @@
22
stage: deploy
33
image:
44
name: gcr.io/go-containerregistry/crane:debug
5-
entrypoint: ['']
5+
entrypoint: [""]
66
script:
77
- crane auth login $CI_REGISTRY -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD
88
- ENVIRONMENT_TAG="${CI_ENVIRONMENT_NAME%%/*}"
99
- crane tag $CI_REGISTRY_IMAGE/${SERVICE_NAME}:$CI_COMMIT_SHA $ENVIRONMENT_TAG
10-
- |
11-
if [ "$CI_COMMIT_BRANCH" = "$CI_DEFAULT_BRANCH" ]; then
12-
crane tag $CI_REGISTRY_IMAGE/${SERVICE_NAME}:latest $ENVIRONMENT_TAG
13-
fi
1410

1511
.service-deploy-manifest:
1612
stage: deploy
@@ -20,7 +16,7 @@
2016
strategy: depend
2117
variables:
2218
MANIFEST_SETUP_COMMAND: quick
23-
MANIFEST_STAGGER_TIME: '10'
19+
MANIFEST_STAGGER_TIME: "10"
2420

2521
########################################################################
2622
# server
@@ -217,4 +213,4 @@ scraper-deploy-manifest-production:
217213
variables:
218214
MANIFEST_QUICK_TARGETS: inventory/polycentric-east/scraper.yml:polycentriceast
219215
needs:
220-
- scraper-deploy-image-production
216+
- scraper-deploy-image-production

0 commit comments

Comments
 (0)