Buildpacks error while trying to deploy my app

INFORMATION

Relevant information to this issue:
*https://console.qovery.com/organization/c40d5d2b-858f-40e8-b841-48aebbc30392/project/e5b85c27-4695-4b8f-9148-aa8a46b7fdf8/environment/d57f20cc-7d0f-48b4-9034-e79ff29bc271/logs/4831a818-b85a-4ecf-a083-7b125706a40f/deployment-logs

Hello community ! For no reasons since today i have issue running an auto-deploy after pushing code on my github repository.

Here is the logs error from the deployment log (build failed) :slight_smile:

22: Pulling from heroku/builder-classic

Digest: sha256:58aeee6b45bad5506d3f73e470ef4877e25584df44ed0f8c591b50c03093849a

Status: Image is up to date for heroku/builder-classic:22

0.17.2: Pulling from buildpacksio/lifecycle

Digest: sha256:3973d2f80d1d63db99bd9c7f8618f4d673527818ce798710a95d7bd2c74f47e8

Status: Image is up to date for buildpacksio/lifecycle:0.17.2

===> ANALYZING

[analyzer] ERROR: failed to initialize analyzer: validating registry read access: ensure registry read access to XXXXXXXXX.dkr.ecr.eu-west-3.amazonaws.com/XXXXXXX-XXXXX

ERROR: failed to build: executing lifecycle. This may be the result of using an untrusted builder: failed with status code: 1

❌ Container image XXXXXXX.dkr.ecr.eu-west-3.amazonaws.com/XXXXXX:XXXX-XXXXX failed to be build: Cannot build Application "z4831a818" due to an error with buildpack: ExitStatusError(ExitStatus(unix_wait_status(256)))

💣 Deployment aborted following a failure to deploy a service. This is a general/global message. Look at your services deployment status to know which one made the deployment fail

Thank for your help . i’m stuck i cannot deploy anymore

Hi @Mickael_TORDJMAN , someone from our engineering team will take a look but I highly recommend using a Dockerfile and not Buildpacks. The error seems related to Buildpacks (maybe a Buildpacks registry issue - it happens). I’d highly recommend using a Dockerfile. You will save time and avoid this kind of issue.

Hi @rophilogene . The purposes of my usage of Qovery is to not handle the devops layer and use buildpacks for build/deploy automation. I don’t know how i can use dockerfile to resolve this issue.

Hi @Mickael_TORDJMAN ,

I’d recommend looking at this article explaining how to create a Dockerfile easily with the docker init command.

Hey @Mickael_TORDJMAN !

As @rophilogene said, you should definitively use a Dockerfile, there are only benefits (CF https://www.qovery.com/blog/why-you-should-use-docker-over-buildpacks/).

Anyways, we applied a patch for Buildpacks, you should be able to deploy your app now, let us know.

Cheers