mirror of
https://github.com/TrezOne/docker-mods-uptime-kuma-timeout-fix.git
synced 2026-06-16 21:33:15 -04:00
update url
This commit is contained in:
@@ -21,7 +21,7 @@ jobs:
|
||||
- name: Build image
|
||||
run: |
|
||||
# Set version
|
||||
GO_WEBSITE=$(curl -sX GET https://golang.org/dl/)
|
||||
GO_WEBSITE=$(curl -sLX GET https://go.dev/dl/)
|
||||
GO_VERSION=${{ github.event.inputs.GO_VERSION }}
|
||||
GO_VERSION=${GO_VERSION:-$(echo "$GO_WEBSITE" | grep -o '<span.*>.*linux-amd64.*</span>' | grep -oP '(?<=go).*(?=.linux)')}
|
||||
if [ $(echo "$GO_VERSION" | tr -d -c '.' | awk '{ print length; }') = "1" ]; then GO_TAG="${GO_VERSION}.0"; else GO_TAG="${GO_VERSION}"; fi
|
||||
|
||||
Reference in New Issue
Block a user