Skip to content
Snippets Groups Projects
Commit 3eed9897 authored by florck's avatar florck
Browse files

Pipeline build

parent c6e333c9
No related branches found
No related tags found
No related merge requests found
Pipeline #
image: registry.duniter.org/docker/ubuntu-git:16.04-DUNITER-2
tags:
- docker
services:
- docker:dind
script:
- docker build .
except:
- tags
build_image:
image: docker:git
tags:
- docker
services:
- docker:dind
script:
- docker login -u "gitlab-ci-token" -p "$CI_BUILD_TOKEN" $CI_REGISTRY
- docker build --pull -t "$CI_REGISTRY_IMAGE:$CI_BUILD_TAG" .
- docker login -u "gitlab-ci-token" -p "$CI_BUILD_TOKEN" $CI_REGISTRY
- docker push "$CI_REGISTRY_IMAGE:$CI_BUILD_TAG"
only:
- tags
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment