Skip to content

Added fairmint / canton env variables prod deploy script#171

Merged
thibauld merged 1 commit intodevfrom
thibauld/prod-env-var
Jun 12, 2025
Merged

Added fairmint / canton env variables prod deploy script#171
thibauld merged 1 commit intodevfrom
thibauld/prod-env-var

Conversation

@thibauld
Copy link
Copy Markdown
Collaborator

What?

Please describe what you're trying to accomplish in this PR.

Why?

What problem does this solve? Why is this important? What's the context?

Screenshots (optional)

@thibauld thibauld merged commit 63530e8 into dev Jun 12, 2025
2 checks passed
@thibauld thibauld deleted the thibauld/prod-env-var branch June 12, 2025 23:07
Copy link
Copy Markdown

@cursor cursor Bot left a comment

Choose a reason for hiding this comment

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

Bug: Docker Environment Variables Malformed

The three new environment variable arguments for docker run are malformed, using a colon (:) instead of an equals sign (=). Docker's -e flag requires KEY=VALUE syntax. This incorrect format invalidates the environment variable name (due to the trailing colon) and treats the value as a separate argument, causing the docker run command to fail and aborting the production deployment.

.github/workflows/deploy.prod.yaml#L125-L128

-e ETHERSCAN_L2_API_KEY='${ETHERSCAN_L2_API_KEY}' \
-e FAIRMINT_MAINNET_USER_ID: '${FAIRMINT_MAINNET_USER_ID}' \
-e FAIRMINT_MAINNET_PARTY_ID: '${FAIRMINT_MAINNET_PARTY_ID}' \
-e TRANSFER_AGENT_MAINNET_CLIENT_SECRET: '${TRANSFER_AGENT_MAINNET_CLIENT_SECRET}' \

Fix in Cursor


Was this report helpful? Give feedback by reacting with 👍 or 👎

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.

1 participant