Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
O
openvpn
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Monitor
Service Desk
Analyze
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
leap
Container Platform
openvpn
Commits
bdff803d
Verified
Commit
bdff803d
authored
5 years ago
by
micah
Browse files
Options
Downloads
Patches
Plain Diff
switch to the glue include
parent
89a1f668
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
+3
-35
3 additions, 35 deletions
.gitlab-ci.yml
with
3 additions
and
35 deletions
.gitlab-ci.yml
+
3
−
35
View file @
bdff803d
image
:
docker:latest
---
include
:
services
:
-
'
https://0xacab.org/leap/container-platform/glue/raw/master/.gitlab-ci.yml'
-
docker:dind
variables
:
IMAGE_TAG
:
$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_NAME
RELEASE_TAG
:
$CI_REGISTRY_IMAGE:latest
stages
:
-
build
-
release
before_script
:
-
docker login -u gitlab-ci-token -p $CI_JOB_TOKEN registry.0xacab.org
build
:
stage
:
build
tags
:
-
docker-in-docker
script
:
-
docker build --pull -t $IMAGE_TAG .
-
docker push $IMAGE_TAG
release
:
stage
:
release
tags
:
-
docker-in-docker
script
:
-
docker pull $IMAGE_TAG
-
docker tag $IMAGE_TAG $RELEASE_TAG
-
docker push $RELEASE_TAG
only
:
-
master
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