mirror of
https://git.rwth-aachen.de/acs/public/villas/web/
synced 2025-03-09 00:00:01 +01:00
CI: add tag to docker image
This commit is contained in:
parent
888ee61adc
commit
99a5b2d5d2
1 changed files with 2 additions and 2 deletions
|
@ -46,8 +46,8 @@ deploy:docker:
|
|||
before_script:
|
||||
- docker login -u ${CI_REGISTRY_USER} -p ${CI_REGISTRY_PASSWORD} ${CI_REGISTRY}
|
||||
script:
|
||||
- docker build -t ${DOCKER_IMAGE} .
|
||||
- docker push ${DOCKER_IMAGE}
|
||||
- docker build -t ${DOCKER_IMAGE}:${CI_COMMIT_SHORT_SHA} .
|
||||
- docker push ${DOCKER_IMAGE}:${CI_COMMIT_SHORT_SHA}
|
||||
tags:
|
||||
- shell
|
||||
- linux
|
||||
|
|
Loading…
Add table
Reference in a new issue