forked from tykayn/funky-framadate-front
build(CI): add arguments to speed the build
This commit is contained in:
parent
6bd1fd9dc5
commit
b77a97a4c6
@ -57,4 +57,12 @@ variables:
|
||||
KANIKO_BUILD_ARGS="${KANIKO_BUILD_ARGS} --build-arg ${arg}"
|
||||
done
|
||||
fi
|
||||
- /kaniko/executor --context "${KANIKO_CONTEXT_DIR}" --dockerfile "${DOCKER_FILE_PATH}/${DOCKER_FILE_NAME}" ${KANIKO_BUILD_ARGS} --destination "${REGISTRY_IMAGE_PATH}" "${PUSH_IMAGE}"
|
||||
- /kaniko/executor
|
||||
--cache=true
|
||||
--cache-repo=$CI_REGISTRY_IMAGE/cache
|
||||
--context "${KANIKO_CONTEXT_DIR}"
|
||||
--dockerfile "${DOCKER_FILE_PATH}/${DOCKER_FILE_NAME}" ${KANIKO_BUILD_ARGS}
|
||||
--destination "${REGISTRY_IMAGE_PATH}" "${PUSH_IMAGE}"
|
||||
--use-new-run
|
||||
--snapshot-mode=redo
|
||||
--skip-unused-stages
|
||||
|
Loading…
Reference in New Issue
Block a user