Commit d2486d4d authored by Olm's avatar Olm
Browse files

Test génération image Docker et publication dans registry

parent 3476cc5c
Pipeline #6926 failed with stages
in 24 seconds
stages:
- tests
- publish
- imagebuild
- imagepush
cache:
key: ${CI_COMMIT_REF_SLUG}
......@@ -20,3 +22,17 @@ update-satis:
stage: publish
script:
- update-satis
variables:
IMAGE_TAG: $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG
dckbuild:
stage: imagebuild
script:
- docker build -t $IMAGE_TAG .
dckpush:
stage: imagepush
script:
- docker tag $IMAGE_TAG registre.unicaen.fr:5000/$IMAGE_TAG
- docker push registre.unicaen.fr:5000/$IMAGE_TAG
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment