We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dc35ba5 commit 7dadfccCopy full SHA for 7dadfcc
generate-stackbrew-library.sh
@@ -120,6 +120,15 @@ for version; do
120
esac
121
eval "variantArches=( $variantArches )"
122
123
+ constraints=
124
+ if [ "$variant" != "$v" ]; then
125
+ constraints="$variant"
126
+ if [[ "$variant" == nanoserver-* ]]; then
127
+ # nanoserver variants "COPY --from=...:...-windowsservercore-... ..."
128
+ constraints+=", windowsservercore-${variant#nanoserver-}"
129
+ fi
130
131
+
132
echo
133
echo "Tags: $(join ', ' "${variantAliases[@]}")"
134
if [ "${#sharedTags[@]}" -gt 0 ]; then
@@ -130,6 +139,6 @@ for version; do
139
GitCommit: $commit
140
Directory: $dir
141
EOE
- [ -z "$v" ] || echo "Constraints: $variant"
142
+ [ -z "$constraints" ] || echo "Constraints: $constraints"
143
done
135
144
0 commit comments