Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use v2.0.0 deploy & pass docker build args #1058

Merged
merged 2 commits into from
Jul 11, 2024
Merged

Conversation

elrayle
Copy link
Collaborator

@elrayle elrayle commented Jul 11, 2024

Fixes #1057


Description

The v2.0.0 deploy workflows support passing docker build args to the docker build. This fixes the problem where the REACT_APP_SERVER arg to docker was not set. This was causing the website to communicate with the service at localhost:4000 instead of the expected dev.clearlydefined.io. The change also adds a new job to upload the package-lock.json file to the build artifacts. This is needed for the build-and-deploy job to be able to get the version from that file.

Related Work

Copy link

netlify bot commented Jul 11, 2024

Deploy Preview for blissful-goodall-fa23f6 ready!

Name Link
🔨 Latest commit ce47ee1
🔍 Latest deploy log https://app.netlify.com/sites/blissful-goodall-fa23f6/deploys/66904a382dfdf900089ed54f
😎 Deploy Preview https://deploy-preview-1058--blissful-goodall-fa23f6.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@elrayle elrayle merged commit d4fdf97 into master Jul 11, 2024
6 checks passed
@elrayle elrayle deleted the elr/test-new-deploy branch July 11, 2024 21:53
@@ -19,3 +34,6 @@ jobs:
application-type: ui
azure-app-base-name: clearlydefined
azure-app-name-postfix: -dev
docker-build-args: |
REACT_APP_SERVER="https://dev-api.clearlydefined.io"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@elrayle " is not necessary here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Web site docker image points to service on localhost
2 participants