Skip to content

Instantly share code, notes, and snippets.

@Ibro Ibro/config.yml
Created Feb 8, 2019

What would you like to do?
version: 2
machine: true
- checkout
# build image
- run: |
docker info
docker build -t aspnetapp -f Dockerfile .
# deploy the image
- run: |
docker login --username=$HEROKU_USERNAME --password=$HEROKU_API_KEY
docker tag aspnetapp$HEROKU_APP_NAME/web
docker push$HEROKU_APP_NAME/web
curl | sh
heroku container:release web -a $HEROKU_APP_NAME
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.