Any way to send build environment variables with the build trigger?

Is there any way you can set Build Environment Variables dynamically when triggering a build using the POST https://hub.docker.com/api/build/v1/source/XXXXX/trigger/XXXXX/call/ endpoint?

I would like to trigger builds externally, but they would have different env variables. Is there any way to do this? I know you can specify the docker tag, source tag and such, but what about build args?

1 Like