Skip to content

Latest commit

 

History

History
33 lines (26 loc) · 935 Bytes

File metadata and controls

33 lines (26 loc) · 935 Bytes

deployer

Deployer CLI by @mersocarlin.

Docker Hub Provider

Publish a Docker image to Docker Hub registry.

npx mersocarlin-deployer \
  --provider dockerHub \
  --container-registry-host docker.io \
  --container-registry-username <docker-registry-username> \
  --container-registry-password <docker-registry-password> \
  --dockerfile-path <path-to-Dockerfile> \
  --repository-name <docker-repository-name> \
  --repository-tag <docker-repository-tag>

Heroku Provider

Deploy Heroku applications by publishing a new Docker image to Heroku Docker registry.

npx mersocarlin-deployer \
  --provider heroku \
  --container-registry-host registry.heroku.com \
  --container-registry-username <heroku-registry-username> \
  --container-registry-password <heroku-registry-password> \
  --dockerfile-path <path-to-Dockerfile> \
  --heroku-app-name <heroku-app-name> \
  --heroku-api-key <heroku-api-key>