Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
DockerHelper
/
ant
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Registry
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 5ef6f171
authored
Jun 04, 2017
by
Jessica Hawkwell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adding CI
1 parent
003f5693
Pipeline
#180
failed
in 36 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
0 deletions
.gitlab-ci.yml
.gitlab-ci.yml
0 → 100644
View file @
5ef6f17
# This file is a template, and might need editing before it works on your project.
# Official docker image.
image
:
docker:latest
services
:
-
docker:dind
build
:
stage
:
build
script
:
-
export IMAGE_TAG=$(echo -en $CI_COMMIT_REF_NAME | tr -c '[:alnum:]_.-' '-')
-
docker login -u "gitlab-ci-token" -p "$CI_JOB_TOKEN" $CI_REGISTRY
-
docker build --pull -t "$CI_REGISTRY_IMAGE:$IMAGE_TAG" .
-
docker push "$CI_REGISTRY_IMAGE:$IMAGE_TAG"
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment