Skip to content
Snippets Groups Projects
Commit 1a4fad31 authored by Teddy Kossoko's avatar Teddy Kossoko
Browse files

add the script to build the docker

parent 8c5e25ad
No related branches found
No related tags found
No related merge requests found
Pipeline #1082 failed with stage
# This file is a template, and might need editing before it works on your project.
# Official docker image.
image: docker:latest
stages:
- build
services:
- docker:18.09.7-dind
variables:
DOCKER_DRIVER: overlay
DOCKER_HOST: tcp://localhost:2375
before_script:
- docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY
build-master:
stage: build
script:
- bash build-docker-devfile-registry.sh
- docker push "$CI_REGISTRY/$CI_PROJECT_PATH:latest"
only:
- master
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