I added this in the GitHub Action:
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
DOCKER_BUILDKIT: 1 # <----- this line
But now I get this error:
image size: 313 MB
==> Creating release
Error Post "https://api.fly.io/graphql": http2: server sent GOAWAY and closed the connection; LastStreamID=2147483647, ErrCode=NO_ERROR, debug=""
So close…
Edit: looks like a different issue related to Fly: server sent GOAWAY and closed the connection - #9 by aaronmoodie, after several attempts, it worked