mirror of
https://framagit.org/framasoft/framadate/funky-framadate-front.git
synced 2023-08-25 13:53:14 +02:00
fix(CI): change path to cache registry
This commit is contained in:
parent
645bd6f4d6
commit
9d41a73868
@ -47,7 +47,8 @@ build-image:
|
||||
extends: .kaniko_build
|
||||
variables:
|
||||
PUSH_IMAGE: "true"
|
||||
REGISTRY_IMAGE_PATH: "${HARBOR_HOST}/${HARBOR_PROJECT}/${CI_PROJECT_NAME}:${CI_COMMIT_REF_NAME}"
|
||||
REGISTRY_PATH: "${HARBOR_HOST}/${HARBOR_PROJECT}"
|
||||
REGISTRY_IMAGE_PATH: "${REGISTRY_PATH}/${CI_PROJECT_NAME}:${CI_COMMIT_REF_NAME}"
|
||||
|
||||
deploy-image:
|
||||
stage: deploy
|
||||
|
@ -59,7 +59,7 @@ variables:
|
||||
fi
|
||||
- /kaniko/executor
|
||||
--cache=true
|
||||
--cache-repo=$CI_REGISTRY_IMAGE/cache
|
||||
--cache-repo=${REGISTRY_PATH}/cache
|
||||
--context "${KANIKO_CONTEXT_DIR}"
|
||||
--dockerfile "${DOCKER_FILE_PATH}/${DOCKER_FILE_NAME}" ${KANIKO_BUILD_ARGS}
|
||||
--destination "${REGISTRY_IMAGE_PATH}" "${PUSH_IMAGE}"
|
||||
|
Loading…
Reference in New Issue
Block a user