docker-determine-docker-tags/README.md

17 lines
1.3 KiB
Markdown

# docker-determine-docker-tags
[![Build Status](https://build.walbeck.it/api/badges/walbeck-it/docker-determine-docker-tags/status.svg)](https://build.walbeck.it/walbeck-it/docker-determine-docker-tags)
![Docker Pulls](https://img.shields.io/docker/pulls/mwalbeck/determine-docker-tags)
This is a docker image for determine-docker-tags. determine-docker-tags is a small python program to generate docker tags based on parameters from a Dockerfile. The program is mainly intended for use in Drone CI to generate a .tags file for the docker plugin. You can find the pre-built image on [Docker Hub](https://hub.docker.com/r/mwalbeck/determine-docker-tags) and the source code for the image [here](https://git.walbeck.it/walbeck-it/docker-determine-docker-tags).
The program is configured entirely with environment variables for easy configuration. For a overview over the configuration options and what they do I'll referrer you to the [determine-docker-tags repo](https://git.walbeck.it/walbeck-it/determine-docker-tags). If you would like a practical example of how to use it, you can check out the `.drone.yml` file in this repo, where you will find an example of how to use the image in the first step of the `build and release` pipelines.
The relevant tags are as follows (x is a placeholder for the current patch version):
* 0.1, 0.1.x, latest
## License
GPLv3 or later.