Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
default-runner-image
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
Operate
Environments
Monitor
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
docker
default-runner-image
Commits
2750b16f
Commit
2750b16f
authored
7 months ago
by
Moul
Browse files
Options
Downloads
Patches
Plain Diff
Update .gitlab.yml with latest CI env variables
parent
88236cb2
No related branches found
No related tags found
1 merge request
!1
Fix Docker installations, Fix CI env vars
Pipeline
#38087
passed
7 months ago
Stage: test
Changes
1
Pipelines
4
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+3
-5
3 additions, 5 deletions
.gitlab-ci.yml
with
3 additions
and
5 deletions
.gitlab-ci.yml
+
3
−
5
View file @
2750b16f
...
...
@@ -14,12 +14,10 @@ build_image:
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 push "$CI_REGISTRY_IMAGE:$CI_
BUILD
_TAG"
-
docker login -u "gitlab-ci-token" -p "$CI_
JOB
_TOKEN" $CI_REGISTRY
-
docker build --pull -t "$CI_REGISTRY_IMAGE:$CI_
COMMIT
_TAG" .
-
docker push "$CI_REGISTRY_IMAGE:$CI_
COMMIT
_TAG"
only
:
-
tags
tags
:
-
docker
# simple edit to trigger this old pipeline again
\ No newline at end of file
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