add ci
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
image: docker.ds.mlmsoft.cloud/images/docker
|
||||
|
||||
variables:
|
||||
DOCKER_BASEIMAGE: ubuntu:18.04
|
||||
# DOCKER_IMAGE_NAME: ${CI_PROJECT_PATH#*/}
|
||||
# DOCKER_IMAGE_TAG: latest
|
||||
BUILD_SCRIPT: ci/build-image/build.sh
|
||||
|
||||
#before_script:
|
||||
# - export DOCKER_ARG0="key=value"
|
||||
# - export DOCKER_ARG1="key=value"
|
||||
|
||||
stages:
|
||||
- build
|
||||
|
||||
build:
|
||||
stage: build
|
||||
script:
|
||||
- git clone https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.ds.mlmsoft.cloud/infra/ci-build-image.git ${BUILD_SCRIPT%/*}
|
||||
- chmod +x "${BUILD_SCRIPT}" && "./${BUILD_SCRIPT}"
|
||||
when: manual
|
||||
Reference in New Issue
Block a user