Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Mathieu Féry
M1Alma WebAndCloud Server
Commits
a7838dba
Unverified
Commit
a7838dba
authored
Dec 05, 2021
by
Féry Mathieu (Mathius)
Browse files
prune(ci): Remove useless build for local regisry
parent
043e5e48
Pipeline
#34264
failed with stages
in 29 seconds
Changes
1
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
a7838dba
...
...
@@ -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
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment