mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2025-11-14 00:32:35 +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
|
username: $GITHUB_REPOSITORY_OWNER
|
||||||
password: ${{ secrets.GH_TOKEN }}
|
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
|
- name: Build and Push Docker Image
|
||||||
uses: docker/build-push-action@v3.2.0
|
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:
|
with:
|
||||||
context: .
|
context: .
|
||||||
push: true
|
push: true
|
||||||
platforms: ${{ matrix.arch }}
|
platforms: ${{ matrix.arch }}
|
||||||
file: ${{ matrix.image }}/Dockerfile
|
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: |
|
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 }}
|
||||||
|
|||||||
@ -55,6 +55,7 @@ const nextConfig = {
|
|||||||
/** @type {import('@sentry/nextjs').SentryWebpackPluginOptions} */
|
/** @type {import('@sentry/nextjs').SentryWebpackPluginOptions} */
|
||||||
const sentryConfig = {
|
const sentryConfig = {
|
||||||
silent: true,
|
silent: true,
|
||||||
|
dryRun: process.env.NODE_ENV !== 'production',
|
||||||
};
|
};
|
||||||
|
|
||||||
module.exports = withSentryConfig(nextConfig, sentryConfig);
|
module.exports = withSentryConfig(nextConfig, sentryConfig);
|
||||||
|
|||||||
Reference in New Issue
Block a user