appleboy / scp-action

GitHub Action that copy files and artifacts via SSH.
https://github.com/marketplace/actions/scp-command-to-transfer-files
MIT License
1.22k stars 136 forks source link

Error: Docker build failed with exit code 1 #121

Closed WantenMN closed 1 year ago

WantenMN commented 1 year ago

Issue description

I encountered an error while using the appleboy/scp-action GitHub action. The error occurred during the build container process, and the Docker build failed with exit code 1. Here's the error message I received:

Build container for action use: '/home/runner/work/_actions/appleboy/scp-action/master/Dockerfile'.
  /usr/bin/docker build -t 6c0442:0560374a26d84c639d545200c591a612 -f "/home/runner/work/_actions/appleboy/scp-action/master/Dockerfile" "/home/runner/work/_actions/appleboy/scp-action/master"
  Sending build context to Docker daemon  129.5kB

  Step 1/4 : FROM ghcr.io/appleboy/drone-scp:1.6.10
  Get "https://ghcr.io/v2/appleboy/drone-scp/manifests/sha256:28d9***1b1887135d404b4f48b36bfee7127a67f3a3dd1ae820ca5ddff5156c33": Get "https://ghcr.io/token?scope=repository%3Aappleboy%2Fdrone-scp%3Apull&service=ghcr.io": net/http: request canceled (Client.Timeout exceeded while awaiting headers)
  Warning: Docker build failed with exit code 1, back off 7.654 seconds before retry.
  /usr/bin/docker build -t 6c0442:0560374a26d84c639d545200c591a612 -f "/home/runner/work/_actions/appleboy/scp-action/master/Dockerfile" "/home/runner/work/_actions/appleboy/scp-action/master"
  Sending build context to Docker daemon  129.5kB

  Step 1/4 : FROM ghcr.io/appleboy/drone-scp:1.6.10
  received unexpected HTTP status: 503 Service Unavailable
  Warning: Docker build failed with exit code 1, back off 2.7*** seconds before retry.
  /usr/bin/docker build -t 6c0442:0560374a26d84c639d545200c591a612 -f "/home/runner/work/_actions/appleboy/scp-action/master/Dockerfile" "/home/runner/work/_actions/appleboy/scp-action/master"
  Sending build context to Docker daemon  129.5kB

  Step 1/4 : FROM ghcr.io/appleboy/drone-scp:1.6.10
  Head "https://ghcr.io/v2/appleboy/drone-scp/manifests/1.6.10": received unexpected HTTP status: 503 Service Unavailable
Error: Docker build failed with exit code 1
cinob commented 1 year ago

Same issue

alber0905 commented 1 year ago

Same here

rks-1995 commented 1 year ago

same issue

MuraviovVladyslav commented 1 year ago

Same issue

AmalRichwin commented 1 year ago

same issue

stevel705 commented 1 year ago

Check it out now. There https://ghcr.io / with error 503 was falling. It's working for me now

WantenMN commented 1 year ago

It looks like the issue has been resolved, everything appears to be back to normal.