mirror of
https://framagit.org/framasoft/framadate/funky-framadate-front.git
synced 2023-08-25 13:53:14 +02:00
Update .gitlab-ci.yml file
This commit is contained in:
parent
0fda02584f
commit
971c0b3e81
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user