Forgotten jobs tags.

This commit is contained in:
Stanislav Nikitin 2020-09-28 00:25:46 +05:00
parent 544e087260
commit 8dcf62a71d
No known key found for this signature in database
GPG Key ID: 106900B32F8192EE

View File

@ -10,12 +10,16 @@ before_script:
build-local-registry-latest:
stage: build
tags:
- docker
script:
- docker build --pull -t $CI_REGISTRY_IMAGE:latest .
- docker push $CI_REGISTRY_IMAGE:latest
build-local-registry-version:
stage: build
tags:
- docker
script:
- docker build --pull -t $CI_REGISTRY_IMAGE:$CI_COMMIT_TAG .
- docker push $CI_REGISTRY_IMAGE:$CI_COMMIT_TAG