Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/manojlds/gocd-docker
Docker build, run and push task plugin for GoCD
https://github.com/manojlds/gocd-docker
docker gocd
Last synced: 7 days ago
JSON representation
Docker build, run and push task plugin for GoCD
- Host: GitHub
- URL: https://github.com/manojlds/gocd-docker
- Owner: manojlds
- License: apache-2.0
- Created: 2015-02-18T09:17:35.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-05-24T12:18:32.000Z (over 8 years ago)
- Last Synced: 2024-08-04T18:01:20.940Z (3 months ago)
- Topics: docker, gocd
- Language: Java
- Size: 122 KB
- Stars: 38
- Watchers: 9
- Forks: 6
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# gocd-docker
Docker build, run and push task plugin for GoCD[![Build Status](https://snap-ci.com/manojlds/gocd-docker/branch/master/build_image)](https://snap-ci.com/manojlds/gocd-docker/branch/master)
![](/docs/docker-task-config.png)
## 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