Update .gitlab-ci.yml file

This commit is contained in:
Benoit Martins 2023-03-23 11:29:49 +00:00 committed by bmartins
parent 0fda02584f
commit 971c0b3e81
1 changed files with 10 additions and 10 deletions

View File

@ -46,18 +46,18 @@ build-image:
extends: .kaniko_build extends: .kaniko_build
variables: variables:
PUSH_IMAGE: "true" PUSH_IMAGE: "true"
CONTEXT_DIR: "dir://docker" # https://github.com/GoogleContainerTools/kaniko#kaniko-build-contexts CONTEXT_DIR: "dir://./docker" # https://github.com/GoogleContainerTools/kaniko#kaniko-build-contexts
REGISTRY_IMAGE_PATH: "${HARBOR_HOST}/${CI_PROJECT_NAMESPACE}/${CI_PROJECT_NAME}" REGISTRY_IMAGE_PATH: "${HARBOR_HOST}/${CI_PROJECT_NAMESPACE}/${CI_PROJECT_NAME}"
build: # build:
image: node:16 # image: node:16
stage: build # stage: build
before_script: # before_script:
- yarn # - yarn
script: # script:
- yarn run build:prod # - yarn run build:prod
cache: # cache:
policy: pull # policy: pull
#e2e: #e2e:
# stage: e2e # stage: e2e