Open pietrovismara opened 1 year ago
I realized this is probably a duplicate of this issue:
@pietrovismara Hey Pietro, you're correct, this feature isn't supported yet, but we'll make sure it's on our internal backlog since it's been requested across different issues (in both the GitHub Actions and Azure DevOps repositories). We'll keep these sets of issues updated with any movement on our side when we have the chance to take a look at supporting this feature. Thanks!
Pasting here to indicate that we have a desire for this to - not sure how to use ContainerApps with separate environmental variables for a front-end app without this
@quillan86 temporary solution: copy the action.yml file into your repo and edit the docker build command to add the build args you need. It works with github variables, secrets, etc.
Leaving a comment to request this feature.
Is there a way to pass build args for the
docker build
step?Judging from the code I see here this isn't supported, but maybe you can confirm it?
I know of the
environmentVariables
parameter, the problem with it is that I need some arguments to be available while runningdocker build
, while thoseenvironmentVariables
become available only when the container is run, for what I understand.