Skip to content

renault-digital/docker-openldap-exporter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-openldap-exporter

Docker Image CI Push Docker Image Trivy

Auto-trigger docker build for Docker OpenLdap Exporter when new release is announced.

DockerHub Badge

NOTES

The latest docker tag is the latest release version (https://github.com/tomcz/openldap_exporter/releases/latest)

Please avoid to use latest tag for any production deployment. Tag with right version is the proper way, such as renaultdigital/openldap-exporter:v2.1

Github Repo

https://github.com/renault-digital/docker-openldap-exporter

Daily Github Action CI build logs

https://github.com/renault-digital/docker-openldap-exporter/actions

Docker image tags

https://hub.docker.com/r/renaultdigital/openldap-exporter/tags/

Usage

# mount local folders in container.
docker run -ti --rm renaultdigital/openldap-exporter

# Run openldap-exporter with special version. The tag is openldap-exporter's version
docker run -ti --rm renaultdigital/openldap-exporter:v2.1

# run container as command
alias openldap-exporter="docker run -ti --rm renaultdigital/openldap-exporter"
openldap-exporter --help

# example in ~/.bash_profile
aliasopenldap-exporter='docker run -ti --rm renaultdigital/openldap-exporter'

Why we need it

Mostly it is used during CI/CD (continuous integration and continuous delivery) or as part of an automated build/deployment

The Processes to build this image

  • Enable GITHUB ACTIONS CI cronjob on this repo to run build daily on main branch
  • Check if there are new tags/releases announced via Github REST API
  • Match the exist docker image tags via Hub.docker.io REST API
  • If not matched, build the image with release version and push to https://hub.docker.com/
  • Get the latest version from https://github.com/tomcz/openldap_exporter/releases/latest, pull the image with that version, tag as renaultdigital/openldap-exporter:latest and push to hub.docker.com

Contribution

Before any contribution, test your code :

  • using our testing script: .githooks/pre-commit
  • by registering our githooks: git config --local core.hooksPath .githooks/

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors