Skip to content

A one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!

attempting to fix github actions

Amruth Pillaia8034b21d5c4
diff --git a/.github/workflows/docker-build-push.yml b/.github/workflows/docker-build-push.yml
index 8b27f9a25..485a41ac0 100644
--- a/.github/workflows/docker-build-push.yml
+++ b/.github/workflows/docker-build-push.yml
@@ -48,25 +48,18 @@ jobs:
username: $GITHUB_REPOSITORY_OWNER
password: ${{ secrets.GH_TOKEN }}
- - name: Setup Sentry CLI
- uses: mathieu-bour/[email protected]
- with:
- token: ${{ secrets.SENTRY_TOKEN }}
- organization: reactive-resume
- project: ${{ matrix.image }}
-
- name: Build and Push Docker Image
uses: docker/[email protected]
- 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 }}
diff --git a/client/next.config.js b/client/next.config.js
index ecad1b40d..e8d4efdcc 100644
--- a/client/next.config.js
+++ b/client/next.config.js
@@ -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);