Gitlab CI config update.

This commit is contained in:
Stanislav Nikitin 2020-11-20 19:00:39 +05:00
parent 301c42728f
commit e6b46b294c
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