Error: Docker build failed with exit code 1
WantenMN opened this issue · comments
Wanten commented
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
Same issue
Alberto Blanco commented
Same here
Ratna commented
same issue
MuraviovVladyslav commented
Same issue
Richwin commented
same issue
stevel705 commented
Check it out now. There https://ghcr.io / with error 503 was falling. It's working for me now
Wanten commented
It looks like the issue has been resolved, everything appears to be back to normal.