container: Create nested list for the container field in 'job()'

Description Usage Arguments See Also

View source: R/syntax.R

Description

Create nested list for the container field in job()

Usage

1
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()


r-lib/ghactions documentation built on Dec. 15, 2020, 4:07 p.m.