Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Validata
validata-ui
Commits
bc69be6e
Commit
bc69be6e
authored
Jun 19, 2019
by
Christophe Benz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Build Docker image for branch "next" too
parent
38c32193
Pipeline
#1050
failed with stages
in 17 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
.gitlab-ci.yml
.gitlab-ci.yml
+3
-2
No files found.
.gitlab-ci.yml
View file @
bc69be6e
...
...
@@ -10,6 +10,7 @@ Build Docker image:
changes
:
-
Dockerfile
refs
:
-
next
-
tags
image
:
docker:stable
services
:
...
...
@@ -20,8 +21,8 @@ Build Docker image:
before_script
:
-
docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY
script
:
-
docker build -t $CI_REGISTRY_IMAGE:
latest
.
-
docker push $CI_REGISTRY_IMAGE:
latest
-
docker build -t $CI_REGISTRY_IMAGE:
$CI_COMMIT_REF_NAME
.
-
docker push $CI_REGISTRY_IMAGE:
$CI_COMMIT_REF_NAME
tags
:
-
docker-privileged
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
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 comment