feat: Handle non image targets
This commit is contained in:
@@ -88,7 +88,7 @@ jobs:
|
|||||||
id: images
|
id: images
|
||||||
run: |
|
run: |
|
||||||
METADATA='${{ steps.bake.outputs.metadata }}'
|
METADATA='${{ steps.bake.outputs.metadata }}'
|
||||||
IMAGES=$(echo ${METADATA} | jq 'map_values((."image.name" | split(",|:";""))[0] + "@" + ."containerimage.digest")')
|
IMAGES=$(echo ${METADATA} | jq 'map_values((."image.name" | select(. != null) | split(",|:";""))[0] + "@" + ."containerimage.digest")')
|
||||||
echo images=${IMAGES} >> $GITHUB_OUTPUT
|
echo images=${IMAGES} >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
# TODO: Move this into docker-bake.hcl
|
# TODO: Move this into docker-bake.hcl
|
||||||
|
|||||||
Reference in New Issue
Block a user