Skip to content

Commit ad8dbe3

Browse files
committed
update filter in workflow
1 parent 8df32d9 commit ad8dbe3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/BuildImage.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
run: |
1818
# Set version
1919
DOTNET_JSON="$(curl --retry 5 -sX GET https://raw.githubusercontent.com/dotnet/core/master/release-notes/releases-index.json)"
20-
DOTNET_VERSIONS="$(echo $DOTNET_JSON | jq -r '."releases-index"[] | select(."support-phase"=="lts" or ."support-phase"=="current") | ."latest-sdk"' | tr '\n' ' ' | head -c -1)"
20+
DOTNET_VERSIONS="$(echo $DOTNET_JSON | jq -r '."releases-index"[] | select(."support-phase"=="active" or ."support-phase"=="maintenance") | ."latest-sdk"' | tr '\n' ' ' | head -c -1)"
2121
DOTNET_TAG="$(echo $DOTNET_VERSIONS | tr ' ' '_')"
2222
echo "DOTNET_TAG=${DOTNET_TAG}" >> $GITHUB_ENV
2323
# Build image

0 commit comments

Comments
 (0)