superfly / flyctl-actions

:octocat: GitHub Action that wraps the flyctl
Apache License 2.0
268 stars 34 forks source link

Error failed to fetch an image or build from source: Could not find image #35

Closed OriginalEXE closed 1 year ago

OriginalEXE commented 1 year ago

Hi, suddenly my GitHub action started failing and I haven't made any changes to the deployment workflow 🤔

This is the error I get:

Searching for image 'registry.fly.io/projectname:main-33ec56978921b5cd886681cd9fd0744365af2ccf' remotely...
Error failed to fetch an image or build from source: Could not find image "registry.fly.io/projectname:main-33ec56978921b5cd886681cd9fd0744365af2ccf"

However, in the previous step I do get a confirmation and no errors at all:

pushing manifest for registry.fly.io/projectname:main-33ec56978921b5cd886681cd9fd0744365af2ccf@sha256:de7f19101ada31ea3c7ab8ea64f2e79523ae50ee96c0fe02936055e22c80041c 2.9s done

along with the full metadata object confirming that everything worked.

Any ideas on how I can debug this?

Thanks!

nschnierer commented 1 year ago

@OriginalEXE

I had the same problem and found a workaround: https://community.fly.io/t/deploying-to-fly-via-github-action-failing/10171/1

      - uses: docker/setup-buildx-action@v2
        with:
          version: v0.9.1

Maybe this will help you out as well.

OriginalEXE commented 1 year ago

Oh, thank you so much, that indeed worked 🙌🏻. I guess I'll close the issue then since it's obviously something they are working on.

I appreciate your help Noel!