Skip to content

Commit ed7c58a

Browse files
committed
Added sentry release creation.
1 parent 86054fd commit ed7c58a

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/pipeline.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -340,6 +340,17 @@ jobs:
340340
artifacts: ${{ steps.download-artifacts.outputs.download-path }}/*.yaml
341341
token: ${{ secrets.GITHUB_TOKEN }}
342342
allowUpdates: true
343+
- name: Create Sentry Release
344+
uses: getsentry/action-release@v1
345+
with:
346+
environment: production
347+
ignore_empty: true
348+
version: ${{ env.BUILD_VERSION }}
349+
env:
350+
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
351+
SENTRY_ORG: sentry
352+
SENTRY_PROJECT: agent-operator
353+
SENTRY_URL: https://sentry.prod.dotnet.contsec.com
343354
- uses: act10ns/slack@v1
344355
with:
345356
status: ${{ job.status }}

0 commit comments

Comments
 (0)