Skip to content

Commit

Permalink
MAN-227 - update test workflow file to add additional inputs
Browse files Browse the repository at this point in the history
  • Loading branch information
achimber-moj committed Dec 19, 2024
1 parent 294d084 commit 1a0bff7
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
name: Pipeline [test -> build -> deploy]

env:
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}

on:
push:
branches:
Expand All @@ -9,7 +12,7 @@ on:
additional_docker_tag:
description: Additional docker tag that can be used to specify stable or testing tags
required: false
default: '--secret id=sentry,env=SENTRY_AUTH_TOKEN'
default: ''
type: string
push:
description: Push docker image to registry flag
Expand Down Expand Up @@ -64,7 +67,7 @@ jobs:
with:
docker_registry: 'ghcr.io'
registry_org: 'ministryofjustice'
additional_docker_tag: ${{ inputs.additional_docker_tag }}
additional_docker_tag: --secret id=sentry,env=${{ SENTRY_AUTH_TOKEN }}
push: ${{ inputs.push || true }}
docker_multiplatform: true
# deploy_dev:
Expand Down

0 comments on commit 1a0bff7

Please sign in to comment.