Skip to content

Instantly share code, notes, and snippets.

@bastjan
Created April 27, 2020 14:59
Show Gist options
  • Save bastjan/58e019b6be740ff5ab79dfa1f710cb22 to your computer and use it in GitHub Desktop.
Save bastjan/58e019b6be740ff5ab79dfa1f710cb22 to your computer and use it in GitHub Desktop.
extract images from tanka deployment
tk eval environments/default | jq --raw-output '[paths(scalars) as $$p | select($$p[-1] == "image") | getpath($$p)] | unique[]' | tee -a images.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment