This commit is contained in:
Stefan Schueller 2020-07-12 15:05:24 +02:00
parent b0a1b51871
commit 376a9cbec2

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
@ -53,6 +55,9 @@ ensureContainer:
artifacts: artifacts:
paths: paths:
- app/build/outputs - app/build/outputs
tags:
- docker
buildDebug: buildDebug:
extends: .build_job extends: .build_job