Skip to content

Commit 775ee40

Browse files
committed
fix quoting issues
1 parent 0c19e15 commit 775ee40

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/build-container.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,10 @@ jobs:
7373
annotations: ${{ steps.meta.outputs.annotations }}
7474
- name: Find tag names
7575
id: find-tag-names
76+
env:
77+
DOCKER_META_JSON: ${{ steps.meta.outputs.json }}
7678
run: |
77-
echo "${{ steps.meta.outputs.json }}" | jq -r '.tags | reverse | map ( { (split(":")[-1]) : . }) | add | keys[] as $k | "\($k)=\(.[$k])"' >> "$GITHUB_OUTPUT"
79+
echo "$DOCKER_META_JSON" | jq -r '.tags | reverse | map ( { (split(":")[-1]) : . }) | add | keys[] as $k | "\($k)=\(.[$k])"' >> "$GITHUB_OUTPUT"
7880
- name: Update deployed image
7981
if: steps.find-tag-names.outputs.latest
8082
uses: benc-uk/workflow-dispatch@v1

0 commit comments

Comments
 (0)