Skip to content

Commit

Permalink
PI-2394 Fix Docker build when no Sentry token provided
Browse files Browse the repository at this point in the history
To fix Veracode scan
  • Loading branch information
marcus-bcl committed Aug 7, 2024
1 parent 1ffdf75 commit dca63c3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: 2.1

orbs:
hmpps: ministryofjustice/hmpps@8
hmpps: ministryofjustice/hmpps@9
slack: circleci/[email protected]

parameters:
Expand Down Expand Up @@ -214,6 +214,7 @@ workflows:
jobs:
- hmpps/veracode_policy_scan:
slack_channel: << pipeline.parameters.alerts-slack-channel >>
additional_docker_build_args: --secret id=sentry,env=SENTRY_AUTH_TOKEN
context:
- veracode-credentials
- hmpps-common-vars

0 comments on commit dca63c3

Please sign in to comment.