Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
K
key-storage-agent
Manage
Activity
Members
Labels
Plan
Issues
2
Issue boards
Milestones
Wiki
Code
Merge requests
2
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
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Code
key-storage-agent
Merge requests
!34
You need to sign in or sign up before continuing.
Update .gitlab-ci.yml
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Update .gitlab-ci.yml
devops-81
into
master
Overview
0
Commits
1
Pipelines
0
Changes
1
Merged
Alexander Kulikov
requested to merge
devops-81
into
master
6 years ago
Overview
0
Commits
1
Pipelines
0
Changes
1
Expand
remove tagging images with commit hash
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
0c0afd8b
1 commit,
6 years ago
1 file
+
2
−
4
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
.gitlab-ci.yml
+
2
−
4
Options
@@ -17,8 +17,7 @@ build:
script
:
-
docker build --build-arg CI_COMMIT_SHA=$CI_COMMIT_SHA --build-arg CI_COMMIT_REF_NAME=$CI_COMMIT_REF_NAME --build-arg CI_PROJECT_NAME=$CI_PROJECT_NAME --build-arg CI_JOB_TOKEN=$CI_JOB_TOKEN --pull -t $TEST_IMAGE -f Dockerfile .
-
docker push $TEST_IMAGE
-
docker tag $TEST_IMAGE $TEST_IMAGE_SHA
-
docker push $TEST_IMAGE_SHA
build-x86
:
stage
:
build
tags
:
@@ -30,8 +29,7 @@ build-x86:
script
:
-
docker build --build-arg CI_COMMIT_SHA=$CI_COMMIT_SHA --build-arg CI_COMMIT_REF_NAME=$CI_COMMIT_REF_NAME --build-arg CI_PROJECT_NAME=$CI_PROJECT_NAME --build-arg CI_JOB_TOKEN=$CI_JOB_TOKEN --pull -t $TEST_IMAGE-x86 -f Dockerfile-x86 .
-
docker push $TEST_IMAGE-x86
-
docker tag $TEST_IMAGE-x86 $TEST_IMAGE_SHA-x86
-
docker push $TEST_IMAGE_SHA-x86
deploy
:
stage
:
deploy
tags
:
Loading