Verified Commit ad7b1992 authored by René Kersten's avatar René Kersten
Browse files

Initial commit

parents
Pipeline #10454 passed with stage
in 45 seconds
variables:
DOCKER_HOST: tcp://docker:2375/
stages:
- build
services:
- docker:19.03.0-dind
before_script:
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY
build-app:
stage: build
variables:
IMAGE: $CI_REGISTRY_IMAGE
DOCKERFILE: Dockerfile
script:
- docker pull $IMAGE:latest || true
- docker build --cache-from $IMAGE:latest --tag $IMAGE:$CI_COMMIT_SHA --tag $IMAGE:latest -f $DOCKERFILE .
- docker push $IMAGE:$CI_COMMIT_SHA
- docker push $IMAGE:latest
FROM plugins/s3-cache
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