Commit e1f7e4e2 authored by Anthony FREYERMUTH's avatar Anthony FREYERMUTH
Browse files

[#2] Changed CI REGISTRY IMAGE to APP to build image

parent 4a14b7d1
Pipeline #56360 failed with stages
in 2 minutes and 50 seconds
......@@ -7,6 +7,7 @@ variables:
AF_REGISTRY_URL: docker-repository.artifactory.ippon.fr
AF_REGISTRY_USER: livretaccueil-ci
AF_REGISTRY_PASSWORD: livretaccueil-ci
APP: livretaccueil
maven-build:
stage: build
......@@ -28,7 +29,7 @@ docker-build:
- docker build --rm ./ -t ${IMAGE_FQDN}
- docker push ${IMAGE_FQDN}
variables:
IMAGE_FQDN: ${CI_REGISTRY_IMAGE}:${CI_COMMIT_REF_SLUG}
IMAGE_FQDN: ${APP}:${CI_COMMIT_REF_SLUG}
only:
- preprod
......@@ -39,6 +40,6 @@ deploy:
script:
- echo "Start deploying"
variables:
IMAGE_FQDN: ${CI_REGISTRY_IMAGE}:${CI_COMMIT_REF_SLUG}
IMAGE_FQDN: ${APP}:${CI_COMMIT_REF_SLUG}
only:
- preprod
Markdown is supported
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