Sign inSign up

rvillage/heroku-cli

By rvillage

Updated over 8 years ago

The Heroku Command Line Interface on docker

Image
1

554

rvillage/heroku-cli repository overview

heroku-cli for docker


see heroku-cli

Usage

・Shell
docker run --rm -e "HEROKU_API_KEY=123" rvillage/heroku-cli:6.16-alpine /bin/sh
・CircleCI

see deploy heroku

version: 2
jobs:
  deploy-job:
    working_directory: /tmp/my-project
    docker:
      - image: rvillage/heroku-cli:6.16-alpine
    steps:
      - checkout
      - run: apk --update add --no-cache git openssh
      - run:
          name: Deploy Master to Heroku
          command: |
            heroku git:remote -a ${HEROKU_APP_NAME}
            git push --force https://heroku:${HEROKU_API_KEY}@git.heroku.com/${HEROKU_APP_NAME}.git HEAD:refs/heads/master
            sleep 5
            heroku restart
workflows:
  version: 2
  build-deploy:
    jobs:
      - deploy-jobs:
          filters:
            branches:
              only: master

Tag summary

Content type

Image

Digest

Size

48.8 MB

Last updated

over 8 years ago

docker pull rvillage/heroku-cli:7.0-alpine