Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Informatica Secure Agent
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
interop
iics
Informatica Secure Agent
Commits
e846b1db
Commit
e846b1db
authored
4 years ago
by
Nicole Lu
Browse files
Options
Downloads
Patches
Plain Diff
fix DOCKER_IMAGE error
parent
a53994dc
No related branches found
No related tags found
1 merge request
!32
container scanning-INPLATFORM-306
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+3
-2
3 additions, 2 deletions
.gitlab-ci.yml
with
3 additions
and
2 deletions
.gitlab-ci.yml
+
3
−
2
View file @
e846b1db
...
...
@@ -6,10 +6,11 @@ variables:
ECR_IMAGE_TAG
:
"
${AWS_ACCOUNT_ID}.dkr.ecr.us-east-1.amazonaws.com/enterprise-integrations/iics_secure_agent:${CI_COMMIT_SHORT_SHA}"
DOIT_REGISTRY_IMAGE_TAG
:
$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG
CI_TOKEN
:
$CI_TOKEN
DOCKER_IMAGE
:
$
{DOIT
_REGISTRY_IMAGE
_TAG}
DOCKER_IMAGE
:
$
CI
_REGISTRY_IMAGE
:latest
before_script
:
-
apk update && apk add groff less && apk add py3-pip
-
pip install --upgrade pip
-
pip3 install awscli
-
$(aws ecr get-login --no-include-email --region us-east-1)
-
docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
...
...
@@ -30,7 +31,7 @@ build-master:
-
docker push ${ECR_IMAGE_TAG}
only
:
refs
:
#
- master
-
master
-
container_scanning-INPLATFORM-306
changes
:
-
Dockerfile
...
...
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