21 lines
541 B
YAML
21 lines
541 B
YAML
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 |