Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
keycloak-proxy
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Janne Mareike Koschinski
keycloak-proxy
Commits
5ee0bafb
Commit
5ee0bafb
authored
8 years ago
by
Rohith
Browse files
Options
Downloads
Patches
Plain Diff
- building on the tags onlu
parent
41c72b16
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+2
-4
2 additions, 4 deletions
.gitlab-ci.yml
with
2 additions
and
4 deletions
.gitlab-ci.yml
+
2
−
4
View file @
5ee0bafb
...
@@ -30,22 +30,20 @@ build:
...
@@ -30,22 +30,20 @@ build:
-
make deps
-
make deps
-
make static
-
make static
artifacts
:
artifacts
:
expire_in
:
1
w
expire_in
:
1
d
paths
:
paths
:
-
bin/
-
bin/
only
:
only
:
-
/^master$/
-
/^v([0-9]{1,3}[.]?){3}.*$/
-
/^v([0-9]{1,3}[.]?){3}.*$/
deploy
:
deploy
:
stage
:
deploy
stage
:
deploy
script
:
script
:
-
export VERSION=$CI_BUILD_
TAG
-
export VERSION=$CI_BUILD_
REF_NAME
-
'
[[
"$VERSION"
==
"master"
]]
&&
VERSION="latest"'
-
'
[[
"$VERSION"
==
"master"
]]
&&
VERSION="latest"'
-
docker login -u ${REGISTRY_USER} -p ${REGISTRY_TOKEN} -e ${REGISTRY_EMAIL} ${REGISTRY}
-
docker login -u ${REGISTRY_USER} -p ${REGISTRY_TOKEN} -e ${REGISTRY_EMAIL} ${REGISTRY}
-
docker build -t ${REGISTRY}/${REGISTRY_AUTHOR}/${NAME}:${VERSION} .
-
docker build -t ${REGISTRY}/${REGISTRY_AUTHOR}/${NAME}:${VERSION} .
-
docker push ${REGISTRY}/${REGISTRY_AUTHOR}/${NAME}:${VERSION}
-
docker push ${REGISTRY}/${REGISTRY_AUTHOR}/${NAME}:${VERSION}
-
docker rmi ${REGISTRY}/${REGISTRY_AUTHOR}/${NAME}:${VERSION}
-
docker rmi ${REGISTRY}/${REGISTRY_AUTHOR}/${NAME}:${VERSION}
only
:
only
:
-
/^master$/
-
/^v([0-9]{1,3}[.]?){3}.*$/
-
/^v([0-9]{1,3}[.]?){3}.*$/
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment