I have a build time Argument with which I would like to build my Docker file; Since that argument is confidential in nature (github key of a private repo) I don\'t want that
This is the point of docker secret
docker secret
see for example
https://blog.docker.com/2017/02/docker-secrets-management/