Commit d107af8e authored by Oliver Lippert's avatar Oliver Lippert
Browse files

first CI steps (debug)


Signed-off-by: Oliver Lippert's avatarOliver Lippert <oliver@lipperts-web.de>
parent df1f27d7
Pipeline #10073 passed with stage
in 37 seconds
stages:
- build
before_script:
- docker login -u gitlab-ci-token -p $CI_BUILD_TOKEN $CI_REGISTRY
build:
stage: build
tags:
- docker
script:
- export DOCKER_TAG=$(echo $CI_COMMIT_REF_NAME | sed -e 's/master/latest/g')
- echo $DOCKER_TAG
- export DOCKER_CMD=$(docker inspect -f '{{.Config.Cmd}}' wordpress:$DOCKER_TAG)
- echo $DOCKER_CMD
- export DOCKER_CMD=${DOCKER_CMD:1:-1}
- echo $DOCKER_CMD
Supports Markdown
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