https://devcenter.heroku.com/articles/container-registry-and-runtime#logging-in-to-the-registry According to the latest heroku doc, one needs to login to the Container Registry otherwise heroku container:push will fail with error: no basic auth credentials.

master
Flying Nobita 2020-05-05 20:10:41 +08:00
parent 2d2857dc0e
commit e7afbc9407
1 changed files with 1 additions and 0 deletions

@ -7,6 +7,7 @@ git clone https://github.com/statping/statping.git
cd statping cd statping
heroku login heroku login
heroku create APP_NAME heroku create APP_NAME
heroku container:login
heroku container:push -a APP_NAME web heroku container:push -a APP_NAME web
heroku container:release -a APP_NAME web heroku container:release -a APP_NAME web
``` ```