Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
ICG - Infrastucture as Code Generator
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
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
PIACERE
public
The Platform
ICG - Infrastucture as Code Generator
Commits
c4d5b224
Commit
c4d5b224
authored
2 years ago
by
Sebastian Miller
Browse files
Options
Downloads
Patches
Plain Diff
[CI] Changed two variable names to more convenient ones
parent
c193cb64
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+5
-5
5 additions, 5 deletions
.gitlab-ci.yml
with
5 additions
and
5 deletions
.gitlab-ci.yml
+
5
−
5
View file @
c4d5b224
...
...
@@ -2,11 +2,11 @@ variables:
DOCKER_IMAGE
:
"
docker:20.10.14"
DOCKER_DIND_IMAGE
:
"
${DOCKER_IMAGE}-dind"
WP
:
wp3
COMPONENT_NAME
:
icg
COMPONENT_
WP
:
wp3
COMPONENT_
IMAGE_
NAME
:
icg
TMP_IMAGE
:
${CI_REGISTRY_HOST}/temp/${COMPONENT_NAME}:${CI_PIPELINE_ID}
TARGET_IMAGE
:
${CI_REGISTRY_HOST}/${WP}/${COMPONENT_NAME}:${CI_COMMIT_BRANCH}
TMP_IMAGE
:
${CI_REGISTRY_HOST}/temp/${COMPONENT_
IMAGE_
NAME}:${CI_PIPELINE_ID}
TARGET_IMAGE
:
${CI_REGISTRY_HOST}/${
COMPONENT_
WP}/${COMPONENT_
IMAGE_
NAME}:${CI_COMMIT_BRANCH}
stages
:
# - quality TODO
...
...
@@ -77,7 +77,7 @@ security-trivy-icg:
services
:
-
name
:
$DOCKER_DIND_IMAGE
variables
:
REPORT_FILENAME
:
${COMPONENT_NAME}-container-scanning-report.json
REPORT_FILENAME
:
${COMPONENT_
IMAGE_
NAME}-container-scanning-report.json
before_script
:
-
*artifactory-login
-
export TRIVY_VERSION=$(wget -qO - "https://api.github.com/repos/aquasecurity/trivy/releases/latest" | grep '"tag_name":' | sed -E 's/.*"v([^"]+)".*/\1/')
...
...
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