Skip to content

Commit

Permalink
chore: updated project path forecfully to be small case
Browse files Browse the repository at this point in the history
  • Loading branch information
Sandeep Kadam committed Jan 28, 2025
1 parent e389f82 commit 9faf5b0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ variables:
# Can't use the {::8} notation to get a short sha in the variables section, so exporting below
before_script:
- export CI_COMMIT_SHA_SHORT=${CI_COMMIT_SHA::8}
- export IMAGE_NAME=$CI_REGISTRY/$CI_PROJECT_PATH:$CI_COMMIT_SHORT_SHA-$CI_PIPELINE_ID
- export CUSTOM_PROJECT_PATH=$(echo $CI_PROJECT_PATH | tr '[:upper:]' '[:lower:]')
- export IMAGE_NAME=$CI_REGISTRY/$CUSTOM_PROJECT_PATH:$CI_COMMIT_SHORT_SHA-$CI_PIPELINE_ID

stages:
- build
Expand Down Expand Up @@ -37,7 +38,6 @@ container_scanning:
# https://docs.gitlab.com/ee/user/application_security/container_scanning/index.html#overriding-the-container-scanning-template
# https://docs.gitlab.com/ee/user/application_security/container_scanning/#vulnerability-allowlisting
GIT_STRATEGY: fetch
IMAGE_NAME: $CI_REGISTRY/$CI_PROJECT_PATH:$CI_COMMIT_SHORT_SHA-$CI_PIPELINE_ID
CS_IMAGE: $IMAGE_NAME
CS_DOCKERFILE_PATH: $CI_PROJECT_DIR/Dockerfile
SECURE_LOG_LEVEL: "debug"
Expand Down

0 comments on commit 9faf5b0

Please sign in to comment.