pass sentry token to docker build push step

This commit is contained in:
Amruth Pillai
2022-11-24 14:58:26 +01:00
parent f71cf99b77
commit b5998d7f3a

View File

@ -48,15 +48,13 @@ jobs:
username: $GITHUB_REPOSITORY_OWNER
password: ${{ secrets.GH_TOKEN }}
- name: Setup Sentry CLI
uses: mathieu-bour/setup-sentry-cli@v1.3.0
with:
token: ${{ secrets.SENTRY_TOKEN }}
organization: reactive-resume
project: ${{ matrix.image }}
- name: Build and Push Docker Image
uses: docker/build-push-action@v3.2.0
env:
SENTRY_URL: https://sentry.io
SENTRY_ORG: reactive-resume
SENTRY_PROJECT: ${{ matrix.image }}
SENTRY_TOKEN: ${{ secrets.SENTRY_TOKEN }}
with:
context: .
push: true