Sign inSign up

escaleno/heroku-cli

By escaleno

Updated over 4 years ago

Docker image with alpine, heroku and docker

Image
0

3.3K

escaleno/heroku-cli repository overview

heroku-cli

Docker image with alpine, heroku and docker

Example with gitlab-ci

production:
  stage: deploy
  image: escaleno/heroku-cli:7.42.2
  services:
    - docker:dind
  variables:
    DOCKER_HOST: tcp://docker:2375
  before_script:
    # login to heroku container registry
    - heroku container:login
    # Build docker image
    - docker pull registry.heroku.com/$HEROKU_APP/web:latest
    - docker build -t registry.heroku.com/$HEROKU_APP/web --pull --cache-from registry.heroku.com/$HEROKU_APP/web:latest .
  script:
    # Push new docker image
    - docker push registry.heroku.com/$HEROKU_APP/web
    # Trigger new release
    - heroku container:release web --app $HEROKU_APP
  only:
    - master

Tag summary

Content type

Image

Digest

Size

147.6 MB

Last updated

over 4 years ago

docker pull escaleno/heroku-cli