Skip to content

Commit

Permalink
Merge pull request #3 from bcgov/dev
Browse files Browse the repository at this point in the history
Update node version (hopefully solving EACCES crashloop issue)
  • Loading branch information
timwekkenbc authored May 28, 2024
2 parents 813fd90 + eb8e637 commit 75babe1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
build-args: |
"NEXT_PUBLIC_API_URL=${{ github.ref == 'refs/heads/main' && 'https://brms-api-eb0f74-prod.apps.silver.devops.gov.bc.ca/api' || 'https://brms-api-dev-eb0f74-dev.apps.silver.devops.gov.bc.ca/api' }}"
"NEXT_PUBLIC_API_URL=${{ github.ref == 'refs/heads/main' && secrets.NEXT_PUBLIC_API_URL_PROD || secrets.NEXT_PUBLIC_API_URL_DEV }}"
"NEXT_PUBLIC_GO_RULES_PROJECT_ID=${{ secrets.NEXT_PUBLIC_GO_RULES_PROJECT_ID }}"
"NEXT_PUBLIC_GO_RULES_BEARER_PAT=${{ secrets.NEXT_PUBLIC_GO_RULES_BEARER_PAT }}"
"NEXT_PUBLIC_GO_RULES_ACCESS_TOKEN=${{ secrets.NEXT_PUBLIC_GO_RULES_ACCESS_TOKEN }}"
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Install the app dependencies in a full Node docker image
FROM registry.access.redhat.com/ubi8/nodejs-18:latest
FROM registry.access.redhat.com/ubi9/nodejs-20:latest

# Set the environment variables
ARG NEXT_PUBLIC_API_URL
Expand Down

0 comments on commit 75babe1

Please sign in to comment.