create_action_workflow_publish_docker_images: Create Github Actions Workflow for Docker Image Publish

View source: R/create.R

create_action_workflow_publish_docker_imagesR Documentation

Create Github Actions Workflow for Docker Image Publish

Description

A github actions workflow for building and pushing a stack of docker images.

Usage

create_action_workflow_publish_docker_images(
  account,
  images,
  rversions,
  save_as = fs::path(".github", "workflows", "publish-docker-images.yml")
)

Arguments

account

character dockerhub account for pushing the images.

images

names of docker images to create, subset of c("r-aws-minimal", "r-aws-spatial", "r-cicd-minimal", "r-cicd-spatial")

rversions

character vector of R versions; necessary for setting up the matrix for the Github Actions Workflow.

save_as

path for storing the yml file; default to fs::path(".github", "workflows", "publish-docker-images.yml").

Value

Logical indicating whether a write occurred, invisibly.


meterds/mdsrocker documentation built on Dec. 2, 2023, 11:56 p.m.