Commit a9c543dc authored by David Danier's avatar David Danier

try3

parent a9aff327
Pipeline #56971 failed with stage
in 5 minutes and 31 seconds
......@@ -4,17 +4,8 @@ services:
- docker:dind
stages:
- login
- build
login:
stage: login
only:
refs:
- master
script:
- /bin/sh build/ci/login.sh
build56:
stage: build
only:
......
......@@ -12,6 +12,16 @@ then
exit 1
fi
if [ -z "$CI_REGISTRY" ]
then # outside gitlab ci runner
docker login docker.team23.de
BUILD_PROJECT_NAME=$( basename $( pwd ) )
BUILD_IMAGE_BASE="docker.team23.de/docker/$BUILD_PROJECT_NAME"
else # inside gitlab ci runner
docker login -u gitlab-ci-token -p "$CI_JOB_TOKEN" "$CI_REGISTRY"
BUILD_IMAGE_BASE="$CI_REGISTRY/$CI_PROJECT_PATH"
fi
# Copy shared files
cp -rp shared/*.sh "$VERSION/"
cp -rp shared/php.ini "$VERSION/"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment