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

View File

@ -46,18 +46,18 @@ build-image:
extends: .kaniko_build
variables:
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}"
build:
image: node:16
stage: build
before_script:
- yarn
script:
- yarn run build:prod
cache:
policy: pull
# build:
# image: node:16
# stage: build
# before_script:
# - yarn
# script:
# - yarn run build:prod
# cache:
# policy: pull
#e2e:
# stage: e2e