Gitlab CI config update.

This commit is contained in:
Stanislav Nikitin 2020-11-20 18:59:46 +05:00
parent 0767f05103
commit c296dc60e5
No known key found for this signature in database
GPG Key ID: 106900B32F8192EE

View File

@ -27,6 +27,8 @@ build-local-registry-latest:
script: script:
- docker build --pull -t $LOCAL_REGISTRY_IMAGE_LATEST . - docker build --pull -t $LOCAL_REGISTRY_IMAGE_LATEST .
- docker push $LOCAL_REGISTRY_IMAGE_LATEST - docker push $LOCAL_REGISTRY_IMAGE_LATEST
only:
- master
build-local-registry-version: build-local-registry-version:
stage: build stage: build
@ -45,6 +47,8 @@ build-dockerhub-latest:
script: script:
- docker build --pull -t $DOCKERHUB_IMAGE_LATEST . - docker build --pull -t $DOCKERHUB_IMAGE_LATEST .
- docker push $DOCKERHUB_IMAGE_LATEST - docker push $DOCKERHUB_IMAGE_LATEST
only:
- master
build-dockerhub-version: build-dockerhub-version:
stage: build stage: build