|
|
|
@ -20,8 +20,12 @@ params:
|
|
|
|
|
run:
|
|
|
|
|
path: bash
|
|
|
|
|
args:
|
|
|
|
|
- -ec
|
|
|
|
|
- |
|
|
|
|
|
source /docker-lib.sh
|
|
|
|
|
start_docker $DOCKER_HUB_MIRROR
|
|
|
|
|
${PWD}/git-repo/ci/scripts/build-project.sh
|
|
|
|
|
- "-ec"
|
|
|
|
|
- |
|
|
|
|
|
mkdir -p /root/.docker
|
|
|
|
|
cat > /root/.docker/config.json <<EOF
|
|
|
|
|
{ "auths": { "https://index.docker.io/v1/": { "auth": "$DOCKER_HUB_AUTH" }}}
|
|
|
|
|
EOF
|
|
|
|
|
source /docker-lib.sh
|
|
|
|
|
start_docker $DOCKER_HUB_MIRROR
|
|
|
|
|
${PWD}/git-repo/ci/scripts/build-project.sh
|
|
|
|
|