feat(ci): set context variable

This commit is contained in:
bmartins 2023-03-23 12:10:37 +01:00
parent 061e210404
commit b8496afbb2
1 changed files with 4 additions and 1 deletions

View File

@ -45,10 +45,12 @@ build-image:
- docker
extends: .kaniko_build
variables:
REGISTRY_IMAGE_PATH: "${HARBOR_HOST}/${CI_PROJECT_NAMESPACE}/${CI_PROJECT_NAME}"
PUSH_IMAGE: "true"
KANIKO_CONTEXT_DIR: "docker"
REGISTRY_IMAGE_PATH: "${HARBOR_HOST}/${CI_PROJECT_NAMESPACE}/${CI_PROJECT_NAME}"
build:
image: node:16
stage: build
before_script:
- yarn
@ -56,6 +58,7 @@ build:
- yarn run build:prod
cache:
policy: pull
#e2e:
# stage: e2e
# script: