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 f402097 commit a69ad4bCopy full SHA for a69ad4b
.github/workflows/tag.yaml
@@ -134,10 +134,9 @@ jobs:
134
JSON='${{ steps.meta.outputs.json }}'
135
MODIFIED_JSON=$(echo "$JSON" | jq '
136
.tags |= map(
137
- sub(":v"; ":") # Strip the 'v'
138
- | select(test(":latest") | not)
139
- # Add guard to only modify tags with a version
140
- | if test(":(.+)") then sub(":(.+)"; ":\(.captures[0])-slim") else . end
+ sub(":v"; ":") # Strip the 'v'
+ | select(test(":latest") | not) # Remove the "latest" tag
+ | . + "-slim" # Append "-slim" to the versioned tag
141
) |
142
if any(.tags[]; test("beta")) then
143
.tags += [
0 commit comments