mirror of
https://github.com/TrezOne/docker-mods-uptime-kuma-timeout-fix.git
synced 2026-07-01 04:21:56 -04:00
update version retrieval
This commit is contained in:
@@ -16,7 +16,7 @@ jobs:
|
||||
- name: Build image
|
||||
run: |
|
||||
# Set version
|
||||
JULIA_VERSION=$(curl -sfX GET "https://api.github.com/repos/JuliaLang/julia/releases/latest" | jq -r '. | .tag_name' | sed 's|^v||')
|
||||
JULIA_VERSION=$(curl -sL https://julialang.org/downloads/ | sed 's|.*Current stable release: v||' | sed 's| (.*||')
|
||||
echo "JULIA_VERSION=${JULIA_VERSION}" >> $GITHUB_ENV
|
||||
docker build --no-cache --build-arg JULIA_VERSION="${JULIA_VERSION}" -t ${{ github.sha }} .
|
||||
|
||||
|
||||
Reference in New Issue
Block a user