Create nested list for the container field in job()

container(image, env = NULL, ports = NULL, volumes = NULL, options = NULL)

Arguments

image

[character(1)] giving the published docker image to use as the container to run the action.

env

[list()] giving environment variables for the container as a named list. Defaults to NULL.

ports, volumes

[list()] giving ports to expose, and volumes for the container to use as an unnamed list. Defaults to NULL.

options

[character()] giving additional options. Defaults to NULL.

See also

Other syntax: gh_matrix(), ghactions_events, ghactions_vms, job(), on(), step(), strategy(), workflow()