Skip to content

escaleno-ltda/heroku-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

heroku-cli

Docker image with alpine, heroku and docker

Example with gitlab-ci

production:
  stage: deploy
  image: escaleno/heroku-cli:7.59.3
  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

About

Docker image with alpine, heroku and docker

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published