Closed vherus closed 2 years ago
Copy of the error output incase the original issue is lost:
Run akhileshns/heroku-deploy@v3.12.12
with:
docker_heroku_process_type: web
heroku_api_key: ***
heroku_app_name: email-service-web
heroku_email: ***
usedocker: true
branch: HEAD
dontuseforce: false
dontautocreate: false
delay: 0
rollbackonhealthcheckfailed: false
justlogin: false
Created and wrote to ~/.netrc
› Warning: Our terms of service have changed:
› https://dashboard.heroku.com/terms-of-service
WARNING! Your password will be stored unencrypted in /home/runner/.docker/config.json.
Configure a credential helper to remove this warning. See
Successfully logged into heroku
https://docs.docker.com/engine/reference/commandline/login/#credentials-store
Added git remote heroku
The command '/bin/sh -c apt-get update && apt-get install build-essential=12.6 libpq-dev=11.11-0+deb10u1 --no-install-recommends --quiet --yes && rm -rf /var/lib/apt/lists/*' returned a non-zero code: 100
▸ Error: docker build exited with Error: 100
Unable to push branch because the branch is behind the deployed branch. Using --force to deploy branch.
(If you want to avoid this, set dontuseforce to 1 in with: of .github/workflows/action.yml.
Specifically, the error was: Error: Command failed: heroku container:push web --app email-service-web
The command '/bin/sh -c apt-get update && apt-get install build-essential=12.6 libpq-dev=11.11-0+deb10u1 --no-install-recommends --quiet --yes && rm -rf /var/lib/apt/lists/*' returned a non-zero code: 100
▸ Error: docker build exited with Error: 100
The command '/bin/sh -c apt-get update && apt-get install build-essential=12.6 libpq-dev=11.11-0+deb10u1 --no-install-recommends --quiet --yes && rm -rf /var/lib/apt/lists/*' returned a non-zero code: 100
Error: Error: Command failed: heroku container:push web --app email-service-web
The command '/bin/sh -c apt-get update && apt-get install build-essential=12.6 libpq-dev=11.11-0+deb10u1 --no-install-recommends --quiet --yes && rm -rf /var/lib/apt/lists/*' returned a non-zero code: 100
▸ Error: docker build exited with Error: 100
▸ Error: docker build exited with Error: 100
Interesting. Maybe a quick work around is to let Heroku manage the integration rather than GitHub, via https://devcenter.heroku.com/articles/github-integration#automatic-deploys
In terms of their projects, they can always demo from a local build.
Team projects use the akhileshns/heroku-deploy GitHub action to handle CD with Heroku. A student encountered this issue, which has seen multiple occurrences and no response from the developers.
It needs investigating to determine whether we can implement a solution or switch to a different action / service provider