Skip to content

manojlds/gocd-docker

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

gocd-docker

Docker build, run and push task plugin for GoCD

Build Status

Build

We can use a Dockerfile to build an image and tag it.

Run

If needed, we can run a script against the built image.

Use case - build and test the application in the container environment in which it will actually run.

During run, the entire working directory is mounted as volume into the container, and the specified script (along with the optional arguments) is run in the container.

Publish

If needed, we can push the built image to Dockerhub.

It is possible to optionally choose any one or a combination of these.

Pending tasks

  • Support private registry
  • More options while running, like setting specific environment variables