mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2025-11-13 16:22:59 +10:00
attempting to fix github actions
This commit is contained in:
17
.github/workflows/docker-build-push.yml
vendored
17
.github/workflows/docker-build-push.yml
vendored
@ -48,25 +48,18 @@ 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
|
||||
build_args: |
|
||||
"SENTRY_ORG=reactive-resume"
|
||||
"SENTRY_URL=https://sentry.io"
|
||||
"SENTRY_PROJECT=${{ matrix.image }}"
|
||||
"SENTRY_AUTH_TOKEN=${{ secrets.SENTRY_AUTH_TOKEN }}"
|
||||
tags: |
|
||||
amruthpillai/reactive-resume:${{ matrix.image }}-latest
|
||||
amruthpillai/reactive-resume:${{ matrix.image }}-${{ steps.version.outputs.current-version }}
|
||||
|
||||
@ -55,6 +55,7 @@ const nextConfig = {
|
||||
/** @type {import('@sentry/nextjs').SentryWebpackPluginOptions} */
|
||||
const sentryConfig = {
|
||||
silent: true,
|
||||
dryRun: process.env.NODE_ENV !== 'production',
|
||||
};
|
||||
|
||||
module.exports = withSentryConfig(nextConfig, sentryConfig);
|
||||
|
||||
Reference in New Issue
Block a user