mirror of https://github.com/tidwall/tile38.git
parent
464d7845ea
commit
3bfd188c9c
|
@ -5,7 +5,7 @@ stages:
|
||||||
- build
|
- build
|
||||||
- push
|
- push
|
||||||
|
|
||||||
build_images:
|
.build_images: &build_images
|
||||||
before_script:
|
before_script:
|
||||||
- echo $CI_JOB_TOKEN | docker login -u gitlab-ci-token registry.gitlab.com --password-stdin
|
- echo $CI_JOB_TOKEN | docker login -u gitlab-ci-token registry.gitlab.com --password-stdin
|
||||||
- docker login -u _json_key --password-stdin https://eu.gcr.io < $GITLAB_DEPLOY_BOT_KEY
|
- docker login -u _json_key --password-stdin https://eu.gcr.io < $GITLAB_DEPLOY_BOT_KEY
|
||||||
|
@ -34,7 +34,7 @@ build_images:
|
||||||
- docker push $GITLAB_IMAGE
|
- docker push $GITLAB_IMAGE
|
||||||
|
|
||||||
|
|
||||||
push_master:
|
.push_master: &push_master
|
||||||
before_script:
|
before_script:
|
||||||
- echo $CI_JOB_TOKEN | docker login -u gitlab-ci-token registry.gitlab.com --password-stdin
|
- echo $CI_JOB_TOKEN | docker login -u gitlab-ci-token registry.gitlab.com --password-stdin
|
||||||
- docker login -u _json_key --password-stdin https://eu.gcr.io < $GITLAB_DEPLOY_BOT_KEY
|
- docker login -u _json_key --password-stdin https://eu.gcr.io < $GITLAB_DEPLOY_BOT_KEY
|
||||||
|
|
Loading…
Reference in New Issue