Skip to content
Snippets Groups Projects
Commit e846b1db authored by Nicole Lu's avatar Nicole Lu
Browse files

fix DOCKER_IMAGE error

parent a53994dc
No related branches found
No related tags found
1 merge request!32container scanning-INPLATFORM-306
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment