Sign inSign up

mwalbeck/determine-docker-tags

By mwalbeck

•Updated 5 months ago

Python application to generate docker tags based on provided Dockerfile.

Image
0

10K+

mwalbeck/determine-docker-tags repository overview

⁠docker-determine-docker-tags

Build Status Docker Pulls

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⁠ and the source code for the image here⁠.

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⁠. 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.

There are two variants of this image. One using the offical debian based python image and one using the distroless python variant. The relevant tags are as follows (x is a placeholder for the current patch version):

  • 0.1, 0.1.x, latest
  • 0.1-distroless, 0.1.x-distroless, latest-distroless

⁠License

GPLv3 or later.

Tag summary

Content type

Image

Digest

sha256:adcfb4558…

Size

21.4 MB

Last updated

5 months ago

docker pull mwalbeck/determine-docker-tags