I am creating a job spec. I need to pull my images from a private repo. I want to put my repo credentials in the vault. So I am not sure how to pull them from vault and put into the job spec
task "fvtt" {
driver = "docker"
config {
image = "registry.gitlab.com/harry/source/myimage:0.6.0"
auth {
username = "{{ }}"
password = "{{ }}"
}
I see how to use the template to add env values to the task env. But I don’t see how to pull from vault to actually use in the job spec.
Any help would be greatly appreciated.
Brad