Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
AWS Kubectl
Manage
Activity
Members
Labels
Plan
Issues
1
Issue boards
Milestones
Wiki
Jira
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
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
IT Common Platform
tenant-support
images
AWS Kubectl
Commits
fcc50560
Commit
fcc50560
authored
3 years ago
by
Nandan Sadineni
Browse files
Options
Downloads
Patches
Plain Diff
Update .gitlab-ci.yml file
parent
eca66cca
Branches
Branches containing commit
No related merge requests found
Pipeline
#208479
failed with stage
in 13 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+5
-4
5 additions, 4 deletions
.gitlab-ci.yml
with
5 additions
and
4 deletions
.gitlab-ci.yml
+
5
−
4
View file @
fcc50560
...
...
@@ -5,7 +5,8 @@ stages:
variables
:
CONTAINER_TEST_IMAGE
:
$CI_REGISTRY_IMAGE:$CI_COMMIT_SHORT_SHA
CONTAINER_RELEASE_IMAGE
:
$CI_REGISTRY_IMAGE:latest
CONTAINER_RELEASE_IMAGE
:
$CI_REGISTRY_IMAGE:$CI_COMMIT_BEFORE_SHA
CONTAINER_RELEASE_IMAGE_TAG
:
$CI_REGISTRY_IMAGE:latest
before_script
:
-
docker login -u $CI_DEPLOY_USER -p $CI_DEPLOY_PASSWORD $CI_REGISTRY
...
...
@@ -39,9 +40,9 @@ test:
release-image
:
stage
:
release
script
:
-
docker pull
$
CONTAINER_
TEST
_IMAGE
-
docker tag
$
CONTAINER_
TEST
_IMAGE $CONTAINER_RELEASE_IMAGE
-
docker push $CONTAINER_RELEASE_IMAGE
-
docker pull CONTAINER_
RELEASE
_IMAGE
-
docker tag CONTAINER_
RELEASE
_IMAGE $CONTAINER_RELEASE_IMAGE
_TAG
-
docker push $CONTAINER_RELEASE_IMAGE
_TAG
only
:
-
master
tags
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
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