Skip to content
Snippets Groups Projects
Commit f1660d71 authored by Gaelle.Barris's avatar Gaelle.Barris
Browse files

Update .gitlab-ci.yml file

parent 84c6d0a2
No related branches found
No related tags found
No related merge requests found
......@@ -127,8 +127,8 @@ publish-docker-image-public:
podman login --authfile=~/.docker/config.json ${CI_REGISTRY}
script:
- source $CI_PROJECT_DIR/ci-info.env
- echo "target=https://gitlab-forge.din.developpement-durable.gouv.fr/api/v4/projects/17127/packages/maven/${IMAGE_NAME}:${IMAGE_TAG}"
- TARGET_IMAGE_NAME=https://gitlab-forge.din.developpement-durable.gouv.fr/api/v4/projects/17127/packages/maven/${IMAGE_NAME}:${IMAGE_TAG}
- echo "target=https://registry.gitlab-forge.din.developpement-durable.gouv.fr/pub/geomatique/repository-public/${IMAGE_NAME}:${IMAGE_TAG}"
- TARGET_IMAGE_NAME=https://registry.gitlab-forge.din.developpement-durable.gouv.fr/pub/geomatique/repository-public/${IMAGE_NAME}:${IMAGE_TAG}
- podman build ${PODMAN_ARGS} --build-arg JAR_FILE=./target/*-boot.war ${PODMAN_CACHE_ARGS} -t ${TARGET_IMAGE_NAME} --file=Dockerfile .
- podman ${PODMAN_ARGS} image list
- podman ${PODMAN_ARGS} push ${TARGET_IMAGE_NAME}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment