Skip to content

Commit 256e0ca

Browse files
committed
test10
1 parent 8df0ffe commit 256e0ca

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

.github/workflows/docker-export.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
name: Build and Push Docker Image
2-
# test
32
on:
43
push:
54

@@ -26,11 +25,10 @@ jobs:
2625
# Manually update CA if needed
2726
update-ca-certificates || true
2827
29-
# Add Buildx
28+
# Download Buildx with a progress bar & timeouts
3029
mkdir -p ~/.docker/cli-plugins
31-
# Add timeouts + verbose so you know if curl is hanging
32-
curl -sSL --connect-timeout 30 --max-time 300 -v \
33-
https://github.com/docker/buildx/releases/download/v0.11.2/buildx-v0.11.2.linux-arm64 \
30+
curl --connect-timeout 30 --max-time 300 --progress-bar -L \
31+
"https://github.com/docker/buildx/releases/download/v0.11.2/buildx-v0.11.2.linux-arm64" \
3432
-o ~/.docker/cli-plugins/docker-buildx
3533
3634
chmod +x ~/.docker/cli-plugins/docker-buildx
@@ -39,8 +37,6 @@ jobs:
3937
docker --version
4038
docker buildx version
4139
42-
43-
4440
- name: Check out repository
4541
uses: actions/checkout@v3
4642

0 commit comments

Comments
 (0)