#buildArgs example for dockerBuild()

1 messages · Page 1 of 1 (latest)

crisp thicket
#

I currently have the following code:

    const src = client.host().directory(project_dir).withoutDirectory(".git").withoutDirectory("./node_modules")
    src.dockerBuild().
        withRegistryAuth(registry_url, azure_user, secret).
        publish(registry_url+registry_loc+":"+docker_image)

Could someone show me an example of how I would pass a buildArgs into dockerBuild() please?

Thank you