Skip to content
Snippets Groups Projects
Commit d2486d4d authored by Olivier Le Monnier's avatar Olivier Le Monnier
Browse files

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

parent 3476cc5c
No related branches found
No related tags found
No related merge requests found
Pipeline #6926 failed
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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment