Newer
Older
stage: build
image: maven:3.9.5-ibm-semeru-17-focal
script:
- mvn install -s ci_settings.xml -DskipTests
artifacts:
paths:
- target/
.docker_build:
stage: build
image:
name: gcr.io/kaniko-project/executor:debug
entrypoint: [""]
script:
- /kaniko/executor --context "${CI_PROJECT_DIR}" --dockerfile "${CI_PROJECT_DIR}/Dockerfile" --destination "${CI_REGISTRY_IMAGE}:$APP_VERSION" --no-push
script:
- npm install
- npm run build -- --dev
artifacts:
paths:
- dist/