Ошибка при публикации на Heroku.com через GitHub Action
Есть такой main.yaml, app на .net core 6.0
name: CI
on:
push:
branches:
- Develop/*
jobs:
build_app:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Build and deploy the Docker image
env:
HEROKU_API_KEY: ${{ secrets.HEROKU_API_KEY }}
APP_NAME: ${{ 'myApp' }}
run: |
cd ./NameApp
docker login --username=_ --password=$HEROKU_API_KEY registry.heroku.com
heroku container:push web -a $APP_NAME
heroku container:release web -a $APP_NAME
После коммита начинает публикацию но на этапе Build and deploy the Docker image падает с ошибкой
Run docker login --username=_ --*** registry.heroku.com
WARNING! Using -*** the CLI is insecure. Use --password-stdin.
WARNING! Your password will be stored unencrypted in /home/runner/.docker/config.json.
Configure a credential helper to remove this warning. See
Login Succeeded
https://docs.docker.com/engine/reference/commandline/login/#credentials-store
› Warning: Our terms of service have changed:
› https://dashboard.heroku.com/terms-of-service
▸ No images to push
Error: Process completed with exit code 1.
Что не так?