Created
May 15, 2023 06:41
-
-
Save edib/4a92866aa7ecdb67b98979de6c6f09e7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
image: maven:3.9.1-eclipse-temurin-17-alpine | |
cache: | |
paths: | |
- .m2/repository | |
key: "$CI_BUILD_REF_NAME" | |
variables: | |
MAVEN_CLI_OPTS: "-s .m2/settings.xml --batch-mode" | |
MAVEN_OPTS: "-Dmaven.repo.local=$CI_PROJECT_DIR/.m2/repository -Dmaven.artifact.threads=50" | |
stages: | |
- build | |
build-job: | |
stage: build | |
script: | |
- mvn compile jib:build |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment