move from env to secrets

This commit is contained in:
Amruth Pillai
2022-11-24 15:11:55 +01:00
parent 67ee55b502
commit 03cb198e95

View File

@ -50,16 +50,16 @@ jobs:
- name: Build and Push Docker Image - name: Build and Push Docker Image
uses: docker/build-push-action@v3.2.0 uses: docker/build-push-action@v3.2.0
env:
SENTRY_URL: https://sentry.io
SENTRY_ORG: reactive-resume
SENTRY_PROJECT: ${{ matrix.image }}
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_TOKEN }}
with: with:
context: . context: .
push: true push: true
platforms: ${{ matrix.arch }} platforms: ${{ matrix.arch }}
file: ${{ matrix.image }}/Dockerfile file: ${{ matrix.image }}/Dockerfile
secrets: |
SENTRY_URL=https://sentry.io
SENTRY_ORG=reactive-resume
SENTRY_PROJECT=${{ matrix.image }}
SENTRY_AUTH_TOKEN=${{ secrets.SENTRY_TOKEN }}
tags: | tags: |
amruthpillai/reactive-resume:${{ matrix.image }}-latest amruthpillai/reactive-resume:${{ matrix.image }}-latest
amruthpillai/reactive-resume:${{ matrix.image }}-${{ steps.version.outputs.current-version }} amruthpillai/reactive-resume:${{ matrix.image }}-${{ steps.version.outputs.current-version }}