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

test scan job and check space

parent 4d66b6b0
No related branches found
No related tags found
1 merge request!32container scanning-INPLATFORM-306
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
DOCKER_IMAGE: $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG
before_script:
- apk update && apk add groff less && apk add py3-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
- df -h
after_script:
- docker logout "$AWS_ACCOUNT_ID".dkr.ecr.us-east-1.amazonaws.com
......@@ -35,10 +37,10 @@ include:
- project: interop/checkqualys
file: templates/.check-qualys-job.yml
container_scan:
extends: qualys_scan
variables:
CI_TOKEN: $CI_TOKEN
DOCKER_IMAGE: $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG
# only:
# schedules
# container_scan:
# extends: qualys_scan
# variables:
# CI_TOKEN: $CI_TOKEN
# DOCKER_IMAGE: $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG
# only:
# schedules
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