Commit 71cb4d64 authored by Oliver Lippert's avatar Oliver Lippert
Browse files

build and push container


Signed-off-by: Oliver Lippert's avatarOliver Lippert <oliver@lipperts-web.de>
parent 5d6d371c
Pipeline #10079 passed with stage
in 1 minute and 27 seconds
......@@ -15,4 +15,6 @@ build:
- export DOCKER_CMD=${DOCKER_CMD:1:-1}
- sed -i "s/:latest/:$DOCKER_TAG/g" Dockerfile
- sed -i "s/CMD apache2-foreground/CMD $DOCKER_CMD/g" Dockerfile
- cat Dockerfile
- export CONTAINER_IMAGE="$CI_REGISTRY_IMAGE:$DOCKER_TAG"
- docker build --pull -t $CONTAINER_IMAGE .
- docker push $CONTAINER_IMAGE
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