Issue Trying to extract ecr image digest using the imageTag. base ❯ aws ecr list-images –repository-name itaig { "imageIds": [ { "imageDigest": "sha256:ec2ad330fadaf1ef05e30b8ba1ee5a92efb8b39c8d51bbcfb706b1b1a1981020", "imageTag": "latest" }, { "imageDigest": "sha256:9377451ac4ea941e49d3176457b3d285d6418fec883a9a8fee87a491b79ac06a" }, { "imageDigest": "sha256:1fb63f185c11a3300d394f83f8152d391b5f37ee3b17b73702296e979fb42576" }, { "imageDigest": "sha256:4fc44daf69561482c9b00858b1a60e6590444703b75d49fed7d46c025520ddac" }, { "imageDigest":
Continue readingTag: jq
How to merge two JSON array variables?
Issue Most of the googling shows it with files but I want to do it with variables. Tried a few things with the documentation but I can’t find the right filter or function or not sure If my approach even
Continue readingHow to search json for a string and output a parent value using jq?
Issue Trying to pull a value out with jq, but didn’t seem as easy as i originally thought. I have a variable of CAR="baga6e~tlwdcmli__QmbHKa~G65fMXzh.car". How can i use this variable to return the parent "piece_cid" ? Example: Using a bash
Continue readingnpm Node output steam to pretty json to terminal
Issue I want to be able to stream all the output data from when I run npm run start into pretty JSON. The issue when using jq is that some output is not JSON is there any way to pretty-print
Continue reading