Unverified Commit a7838dba authored by Féry Mathieu (Mathius)'s avatar Féry Mathieu (Mathius)
Browse files

prune(ci): Remove useless build for local regisry

parent 043e5e48
Pipeline #34264 failed with stages
in 29 seconds
......@@ -124,24 +124,6 @@ build:jar:
needs:
- build:jar
build:docker:
<<: *baseDocker
needs:
- build:jar
- build:getDomainName
script:
- echo $GCP_KEY_PROD >> service-account-file.json
- apk add zip
- mkdir -p BOOT-INF/classes
- mv $OAUTH_PROPERTIES BOOT-INF/classes/oauthKeys.properties
- zip target/*-spring-boot.jar BOOT-INF/classes/oauthKeys.properties
- export DOMAIN=$(cat domain.txt)
- echo "server.baseUri=https://$DOMAIN" >> BOOT-INF/classes/server.properties
- zip target/*-spring-boot.jar BOOT-INF/classes/server.properties
- docker login -u ${CI_REGISTRY_USER} -p ${CI_REGISTRY_PASSWORD} ${CI_REGISTRY}
- docker build -t ${IMAGE_TAG} .
- docker push ${IMAGE_TAG}
build:docker-dev:
<<: *baseDocker
script:
......
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