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

Docker Dev Image not working on fly.io anymore #463

Closed
colin opened this issue Jan 20, 2023 · 2 comments
Closed

Docker Dev Image not working on fly.io anymore #463

colin opened this issue Jan 20, 2023 · 2 comments

Comments

@colin
Copy link
Contributor

colin commented Jan 20, 2023

It seems like the most recent Docker dev images (https://hub.docker.com/r/jointakahe/takahe-dev/tags) can't be deployed to fly.io anymore (and it might be similar for AWS Lambda and Google Cloud Run).

I am getting an Could not find image "docker.io/jointakahe/takahe-dev:sha-ee3b51c" error from fly.io which seems to be based on the fact that docker manifest inspect jointakahe/takahe-dev:sha-ee3b51c returns a no such manifest error. Given that everything works for the 0.7.0 Docker image, I tried to go down the rabbit hole that Github Actions, Docker image builds and the underlying build systems unfortunately seem to be. My (somewhat vague) understanding is that Github very recently updated their Ubuntu Actions runner (actions/runner-images#6941) which included an update to docker-buildx (0.9.1 to 0.10.0) which outputs image manifest in a new/different way that docker manifest can't read at the moment (docker/buildx#1509) which results in the various container hosting services not being able to run the images (docker/buildx#1533).

A possible solution might be reverting to the previous docker-buildx version like this (docker/build-push-action#755 (comment)):

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

I'm not entirely sure what other implications that might have and there are also other ways this could be fixed (including fly.io and other services changing/updating how they are pulling image info from Docker Hub), but maybe it's an easy fix to keep the dev images easily deployable on these kinds of services?

@andrewgodwin
Copy link
Member

Alright, I've tried that fix and set a new Docker build in motion - it should finish in about 20 mins. Let me know if that works?

@colin
Copy link
Contributor Author

colin commented Jan 20, 2023

Seems to be fixed with 349e1b8.
docker manifest output looks like before and fly.io can find/deploy the image again.

@colin colin closed this as completed Jan 20, 2023
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

2 participants