-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
[pipelines] Provide access to secrets inside Docker builds #10990
Comments
Can you elaborate on your use case? What env variables do you need to set? |
On the Docker build phase I need to pass credentials to PHP composer tool for downloading private dependencies. Generally I'm looking for a customization of the build phase for passing the build args. |
Ok I understand, but building assets and so images should happen in the synth phase, shouldn't it? Otherwise, this is related to #10999 |
yes! another problem is the impossibility to retrieve secrets values on the assets build phase Usually, I used the CodeBuild spec file with the env sequence, but in this scenario, I don't have control of these DockeAssets CodeBuilìd instances. Thank you |
There is currently no way to do that, sorry. |
This issue has not received any attention in 1 year. If you want to keep this issue open, please leave a comment below and auto-close will be canceled. |
If you need to do this there's a way |
❓ Customize the docker build phase
I need to implement some environment variables on the DockerAsset stages but these are automatically created by pipelines.
How can I customize these?
Thank you!!
The text was updated successfully, but these errors were encountered: