mirror of
https://github.com/linuxserver/docker-mods.git
synced 2026-03-23 00:05:28 +08:00
update filter in workflow
This commit is contained in:
parent
8df32d9251
commit
ad8dbe357b
2
.github/workflows/BuildImage.yml
vendored
2
.github/workflows/BuildImage.yml
vendored
@ -17,7 +17,7 @@ jobs:
|
||||
run: |
|
||||
# Set version
|
||||
DOTNET_JSON="$(curl --retry 5 -sX GET https://raw.githubusercontent.com/dotnet/core/master/release-notes/releases-index.json)"
|
||||
DOTNET_VERSIONS="$(echo $DOTNET_JSON | jq -r '."releases-index"[] | select(."support-phase"=="lts" or ."support-phase"=="current") | ."latest-sdk"' | tr '\n' ' ' | head -c -1)"
|
||||
DOTNET_VERSIONS="$(echo $DOTNET_JSON | jq -r '."releases-index"[] | select(."support-phase"=="active" or ."support-phase"=="maintenance") | ."latest-sdk"' | tr '\n' ' ' | head -c -1)"
|
||||
DOTNET_TAG="$(echo $DOTNET_VERSIONS | tr ' ' '_')"
|
||||
echo "DOTNET_TAG=${DOTNET_TAG}" >> $GITHUB_ENV
|
||||
# Build image
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user