https://github.com/progrium/docker-releasetag
https://github.com/progrium/docker-releasetag
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/progrium/docker-releasetag
- Owner: progrium
- Created: 2014-06-02T23:38:46.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2014-06-02T23:46:55.000Z (about 12 years ago)
- Last Synced: 2025-04-11T16:11:27.959Z (about 1 year ago)
- Language: Shell
- Size: 121 KB
- Stars: 9
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# docker-releasetag
Prototype of how `docker tag` should work to help aid in [12Factor](http://12factor.net/) releases in the Docker world.
A [release in 12Factor](http://12factor.net/build-release-run) is a "build" + "config", where "config" is environment variables. In this case, a "build" is a Docker container image.
## Using docker-releasetag
It works roughly as `docker tag`, but you can pass the environment as arguments:
$ docker-releasetag mybuild myrelease:v1 FOO=bar BAZ=qux
Or if you have an environment file:
FOO=bar
BAZ=qux
Then you can pass it via STDIN using the `-` argument:
$ docker-releasetag mybuild myrelease:v1 - < envfile