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

[bug] unable to substitute env var in command when token is also used in same arg #1679

Closed
marcus-sa opened this issue Oct 9, 2024 · 0 comments · Fixed by #1690
Closed
Assignees
Labels
bug Something isn't working

Comments

@marcus-sa
Copy link

marcus-sa commented Oct 9, 2024

Describe the bug
The environment variable UKC_USER in this command doesn't get substituted
kraft pkg --name index.unikraft.io/$UKC_USER/$projectName --plat kraftcloud --push
However if I do the following then it works fine
echo $UKC_USER && kraft pkg --name index.unikraft.io/$UKC_USER/$projectName --plat kraftcloud --push

Steps to reproduce
Use any environment variable in conjunction with a token in the same argument

Expected behavior

For environment variable substitution to work correctly

Screenshots
Screenshot from 2024-10-09 23-11-35

@marcus-sa marcus-sa added the bug Something isn't working label Oct 9, 2024
@marcus-sa marcus-sa changed the title [bug] unable to substitute env var in command when token is also used [bug] unable to substitute env var in command when token is also used in same arg Oct 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

Successfully merging a pull request may close this issue.

2 participants