File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -191,7 +191,7 @@ jobs:
191191 - name : Prepare variables
192192 id : prep
193193 run : |
194- echo "version=$(cat ./distributions/${{ inputs.distribution }}/dist/**/metadata.json | jq '.version')" >> "$GITHUB_OUTPUT"
194+ echo "version=$(cat ./distributions/${{ inputs.distribution }}/dist/**/metadata.json | jq -r '.version')" >> "$GITHUB_OUTPUT"
195195 echo "types=$(cat ./distributions/${{ inputs.distribution }}/dist/**/artifacts.json | jq '[.[].type]' | tr -d '\n' )" >> "$GITHUB_OUTPUT"
196196
197197 os=$(cat ./distributions/${{ inputs.distribution }}/dist/**/artifacts.json | jq -r '.[] | select(.name | contains(".tar.gz")) | .goos')
@@ -208,7 +208,7 @@ jobs:
208208 echo 'Images?: ${{ steps.prep.outputs.container-images }}'
209209
210210 - name : Build container images locally
211- if : contains('Docker Image' , 'Docker Image')
211+ if : contains(steps.prep.outputs.types , 'Docker Image')
212212 uses : docker/build-push-action@0adf9959216b96bec444f325f1e493d4aa344497 # v6.14.0
213213 with :
214214 context : ./distributions/${{ inputs.distribution }}
You can’t perform that action at this time.
0 commit comments