Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error failed to fetch an image or build from source #16

Open
abgregs opened this issue Feb 2, 2023 · 0 comments
Open

Error failed to fetch an image or build from source #16

abgregs opened this issue Feb 2, 2023 · 0 comments

Comments

@abgregs
Copy link

abgregs commented Feb 2, 2023

Not sure if others are experiencing this issue, but I just recently started with this stack (great work and thank you for making it 😄 ) and I had to troubleshoot the below error that was causing my deploy to fail.

==> Verifying app config
--> Verified app config
==> Building image
Searching for image 'registry.fly.io/***:[...] locally...
Searching for image 'registry.fly.io/***:[...] remotely...
Error failed to fetch an image or build from source: Could not find image "registry.fly.io/***:[...]

Of course now I can't find the discussion link where I found the solution but this is what got it working for me.

In deploy.yml changed:

 - name: Set up Docker Buildx
        uses: docker/setup-buildx-action@v1

to:

 - name: Set up Docker Buildx
        uses: docker/setup-buildx-action@v2
        with:
          version: v0.9.1

The main thing was specifying the version. Hopefully this helps if others are also running into the issue. Not sure if it's just me or the issue should be resolved another way, but if it'd be helpful I can add a PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant