mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/ocr.git
synced 2025-01-13 17:00:33 +00:00
Use commit_sha for intermediate image
This commit is contained in:
parent
15061bfaaf
commit
4bd0d3bb01
@ -22,7 +22,7 @@ build_image:
|
|||||||
tags:
|
tags:
|
||||||
- docker
|
- docker
|
||||||
variables:
|
variables:
|
||||||
INTERMEDIATE_IMAGE_TAG: $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG
|
INTERMEDIATE_IMAGE_TAG: $CI_REGISTRY_IMAGE:$CI_COMMIT_SHA
|
||||||
|
|
||||||
push_master:
|
push_master:
|
||||||
only:
|
only:
|
||||||
@ -36,7 +36,7 @@ push_master:
|
|||||||
- docker
|
- docker
|
||||||
variables:
|
variables:
|
||||||
IMAGE_TAG: $CI_REGISTRY_IMAGE:latest
|
IMAGE_TAG: $CI_REGISTRY_IMAGE:latest
|
||||||
INTERMEDIATE_IMAGE_TAG: $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG
|
INTERMEDIATE_IMAGE_TAG: $CI_REGISTRY_IMAGE:$CI_COMMIT_SHA
|
||||||
|
|
||||||
push_other:
|
push_other:
|
||||||
except:
|
except:
|
||||||
@ -53,7 +53,7 @@ push_other:
|
|||||||
- docker
|
- docker
|
||||||
variables:
|
variables:
|
||||||
IMAGE_TAG: $CI_REGISTRY_IMAGE:CI_COMMIT_REF_NAME
|
IMAGE_TAG: $CI_REGISTRY_IMAGE:CI_COMMIT_REF_NAME
|
||||||
INTERMEDIATE_IMAGE_TAG: $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG
|
INTERMEDIATE_IMAGE_TAG: $CI_REGISTRY_IMAGE:$CI_COMMIT_SHA
|
||||||
|
|
||||||
delete_image:
|
delete_image:
|
||||||
before_script:
|
before_script:
|
||||||
@ -67,6 +67,6 @@ delete_image:
|
|||||||
tags:
|
tags:
|
||||||
- docker
|
- docker
|
||||||
variables:
|
variables:
|
||||||
INTERMEDIATE_IMAGE_TAG: $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG
|
INTERMEDIATE_IMAGE_TAG: $CI_REGISTRY_IMAGE:$CI_COMMIT_SHA
|
||||||
REG_SHA256: ade837fc5224acd8c34732bf54a94f579b47851cc6a7fd5899a98386b782e228
|
REG_SHA256: ade837fc5224acd8c34732bf54a94f579b47851cc6a7fd5899a98386b782e228
|
||||||
REG_VERSION: 0.16.1
|
REG_VERSION: 0.16.1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user