This commit is contained in:
Stefan Schueller 2020-07-12 15:29:55 +02:00
parent 9d0bbe4d11
commit 1428507234
2 changed files with 3 additions and 1 deletions

View File

@ -18,6 +18,8 @@ stages:
- docker pull $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG || true - docker pull $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG || true
- docker build --cache-from $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG -t $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG . - docker build --cache-from $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG -t $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG .
- docker push $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG - docker push $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG
tags:
- docker
updateContainer: updateContainer:
extends: .updateContainerJob extends: .updateContainerJob