Skip to content

amaysim-au/docker-gocd-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-gocd-cli

Golang image with Java & GoCD CLI installed.

Usage

docker run amaysim/gocd-cli --version
docker run --mount type=bind,source="$(pwd)",destination=/go amaysim/gocd-cli configrepo --json syntax <gocd config file>.json
docker run --mount type=bind,source="$(pwd)",destination=/go amaysim/gocd-cli configrepo --yaml syntax <gocd config file>.yaml

Contributing

Before creating a pull request, run the command % make test