Skip to content

mbenabda/promtool-container-image

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

promtool

container image containing the promtool CLI ( https://github.com/prometheus/prometheus/tree/master/cmd/promtool ).

Intended to be used in CI pipelines

Dockerhub

https://hub.docker.com/r/mbenabda/promtool/

Makefile

  • Build promtool container images from a given version
make build PROMTOOL_VERSION=v1.7.1 DOCKER_IMAGE_NAME=me/promtool
  • Publish built promtool container images
make publish PROMTOOL_VERSION=v1.7.1 DOCKER_IMAGE_NAME=me/promtool
  • Build & publish promtool container images
make sync PROMTOOL_VERSION=v1.7.1 DOCKER_IMAGE_NAME=me/promtool
  • sync promtool cointainer images missing from the promtool repos
make sync_missing_versions DOCKER_IMAGE_NAME=me/promtool