User Story
As a developer , I need the ability to inject a secret to my build process so that I can pull in artifacts from private repository
Options
- Docker Args
Use docker build args to pass in credentials but credentials can be seen in history
- Fetch Credentials during RUN command
- Fetch credentials in RUN command using wget
- As part of same command, invoke the process that needs it
- Remove the credentials once you have fetched the private artifacts as part of the same RUN
User Story
As a developer , I need the ability to inject a secret to my build process so that I can pull in artifacts from private repository
Options
Use docker build args to pass in credentials but credentials can be seen in history