superfly / flyctl-actions

:octocat: GitHub Action that wraps the flyctl
Apache License 2.0
260 stars 33 forks source link

GET https://get.fly.io/flyctl.sh returns a 404 #16

Closed curiousleo closed 2 years ago

curiousleo commented 2 years ago

I just got this when trying to use this action:

  /usr/bin/docker build -t 7db2d7:36f8f67ae1c8435fbe210d10bc661a6e -f "/home/runner/work/_actions/superfly/flyctl-actions/1.0/Dockerfile" "/home/runner/work/_actions/superfly/flyctl-actions/1.0"
  Sending build context to Docker daemon  17.92kB

  Step 1/5 : FROM alpine
   ---> c059bfaa849c
  Step 2/5 : RUN apk add --no-cache curl
   ---> Using cache
   ---> c4a2685f429f
  Step 3/5 : RUN curl https://get.fly.io/flyctl.sh | sh
   ---> Running in ab20e04a1599
    % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                   Dload  Upload   Total   Spent    Left  Speed

    0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
    0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  100    24    0    24    0     0     27      0 --:--:-- --:--:-- --:--:--    26
  sh: four-oh-four,: not found
  The command '/bin/sh -c curl https://get.fly.io/flyctl.sh | sh' returned a non-zero code: 127
jsierles commented 2 years ago

Please upgrade to v1.3 for a better experience :)

curiousleo commented 2 years ago

Right, I see the fix here: https://github.com/superfly/flyctl-actions/commit/0141aba3cab6d573e576ca804ccd870d67aff5ca#diff-dd2c0eb6ea5cfc6c4bd4eac30934e2d5746747af48fef6da689e85b752f39557L5-R5

Thanks! Closing.