set_github_action: Configure GitHub Action pipeline for Docker builds
Description
Copies the docker-build.yml file provided by the shiny2docker package
into the .github/workflows/ directory within the specified base directory.
This GitHub Action configuration is designed to build a Docker image and push the
created image to the GitHub Container Registry.
Usage
set_github_action(path)
Value
A logical value indicating whether the file was successfully copied
(TRUE) or not (FALSE).
Arguments
path
A character string specifying the base directory where the
.github/workflows/ folder will be created and the docker-build.yml
file copied. If missing, the user will be prompted to use the current directory.