File tree Expand file tree Collapse file tree 3 files changed +19
-11
lines changed Expand file tree Collapse file tree 3 files changed +19
-11
lines changed Original file line number Diff line number Diff line change 4040
4141 - name : Push to registry over Tailscale network
4242 run : |
43- docker push relisten2.tail09dbf.ts.net:32000/relistennet/relisten-web:latest
43+ # Try pushing with --insecure flag if registry requires it
44+ echo "Pushing to registry with insecure flag..."
45+ DOCKER_CLI_EXPERIMENTAL=enabled docker push --insecure relisten2.tail09dbf.ts.net:32000/relistennet/relisten-web:latest
4446
47+ # If the above fails, try with IP address
48+ if [ $? -ne 0 ]; then
49+ echo "First attempt failed, trying with IP address..."
50+ REGISTRY_IP=$(tailscale status | grep relisten2 | awk '{print $1}')
51+
52+ if [ -n "$REGISTRY_IP" ]; then
53+ echo "Using Tailscale IP address: $REGISTRY_IP"
54+ # Tag with IP address
55+ docker tag relisten2.tail09dbf.ts.net:32000/relistennet/relisten-web:latest $REGISTRY_IP:32000/relistennet/relisten-web:latest
56+ # Push using IP with insecure flag
57+ DOCKER_CLI_EXPERIMENTAL=enabled docker push --insecure $REGISTRY_IP:32000/relistennet/relisten-web:latest
58+ else
59+ echo "Failed to get IP address and hostname push failed."
60+ exit 1
61+ fi
62+ fi
4563 - name : Install kubectl
4664 uses : azure/setup-kubectl@v3
4765
Original file line number Diff line number Diff line change 1515 "license" : " MIT" ,
1616 "dependencies" : {
1717 "@floating-ui/react" : " ^0.26.13" ,
18- "@fortawesome/fontawesome-free" : " ^6.5.1" ,
1918 "@reduxjs/toolkit" : " ^1.9.5" ,
2019 "@tanstack/react-query" : " ^5.35.1" ,
2120 "@tanstack/react-query-devtools" : " ^5.35.1" ,
You can’t perform that action at this time.
0 commit comments