Home

Awesome

mkdkr docker

Build Status Docker Pulls GitHub release (latest by date)

Docker helper for mkdkr.

build

Build Dockerfile.

docker:
  $(docker_build)

push

Push to a remote registry a docker image.

push:
  $(docker_push)

variables

NameDefaultDescription
DOCKER_USERNAMEunsetIf unset, skips login and try push anonymously
DOCKER_PASSWORDunsetDOCKER_USERNAME password
REGISTRYdocker.ioDocker registry
PROJECT$USERhub.docker image organization
REPOScurrent folderhub.docker image repository
DOCKER_BUILD_ARGS""Any docker build arguments
DOCKER_BUILD_CONTEXT.Context folder

* Use MKDKR_BRANCH_NAME_SLUG for branch based tags

** When branch is master, it will pushes as latest too.