mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2025-11-14 00:32:35 +10:00
trying out env instead of secrets
This commit is contained in:
17
.github/workflows/docker-build-push.yml
vendored
17
.github/workflows/docker-build-push.yml
vendored
@ -48,18 +48,25 @@ 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_ORG: reactive-resume
|
||||
SENTRY_URL: https://sentry.io
|
||||
SENTRY_PROJECT: ${{ matrix.image }}
|
||||
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_TOKEN }}
|
||||
with:
|
||||
context: .
|
||||
push: true
|
||||
platforms: ${{ matrix.arch }}
|
||||
file: ${{ matrix.image }}/Dockerfile
|
||||
secrets: |
|
||||
"SENTRY_ORG=reactive-resume"
|
||||
"SENTRY_URL=https://sentry.io"
|
||||
"SENTRY_PROJECT=${{ matrix.image }}"
|
||||
"SENTRY_AUTH_TOKEN=${{ secrets.SENTRY_TOKEN }}"
|
||||
tags: |
|
||||
amruthpillai/reactive-resume:${{ matrix.image }}-latest
|
||||
amruthpillai/reactive-resume:${{ matrix.image }}-${{ steps.version.outputs.current-version }}
|
||||
|
||||
Reference in New Issue
Block a user