Skip to content

cjblomqvist/dokku-git-rev

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dokku-git-rev Build Status

Lets you fetch the git revision hash used to build the app from the GIT_REV

requirements

  • dokku 0.4.0+
  • docker 1.8.x

installation

# on 0.3.x
cd /var/lib/dokku/plugins
git clone https://github.com/cjblomqvist/dokku-git-rev.git dokku-git-rev
dokku plugins-install

# on 0.4.x+
dokku plugin:install https://github.com/cjblomqvist/dokku-git-rev.git --name dokku-git-rev

hooks

This plugin provides hooks:

  • receive-app: captures the current GIT_REV

usage

On git deploys, the GIT_REV environment variable will be set for your application and be available for your usage.

About

$GIT_REV in your dokku env

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Makefile 79.9%
  • Shell 20.1%