445 Commits

Author SHA1 Message Date
Ohad Lutzky
ceb9688d92 Fix rendering for multi-line commands
Heredocs can be used to create multi-line commands, which broke rendering.

Details about heredocs: https://www.docker.com/blog/introduction-to-heredocs-in-dockerfiles/
2023-07-06 10:48:06 -04:00
Alex Goodman
2a99dd25fe
Merge pull request #390 from michaelherold/support-podman-macos
Support podman in macOS
2023-07-06 10:28:44 -04:00
Alex Goodman
f50a009f8e
Merge pull request #395 from lightsnowball/fix-index-out-of-bound-layer
Fix error on Layer section and reduce information on one line per step.
2023-07-06 10:28:11 -04:00
Alex Goodman
e2d9b623f9
Merge pull request #401 from dosisod/autodetect-yml-files
Allow for autodetecting both `.yaml` and `.yml` config files
2023-07-06 10:25:48 -04:00
Alex Goodman
8bf4341f70
Merge pull request #399 from mark2185/feature/gui-layout-rework
GUI rework
2023-07-06 10:25:30 -04:00
Alex Goodman
abbac157bb
Merge pull request #457 from abitrolly/patch-1
Fix CI
2023-07-06 10:06:34 -04:00
Anatoli Babenia
dfe9a8c5c9
goreleaser deprecated --rm-dist
https://goreleaser.com/deprecations/#-rm-dist
2023-07-06 08:19:29 +03:00
Anatoli Babenia
d131aebc05
.goreleaser.yml deprecated brews.tap
https://goreleaser.com/deprecations/#brewstap
2023-07-06 08:15:41 +03:00
Anatoli Babenia
7933564b4c
_v1 suffix for mac and windows 2023-07-06 08:03:27 +03:00
Anatoli Babenia
cd63ad53fb
Make tabs not spaces
https://stackoverflow.com/questions/2131213/can-you-make-valid-makefiles-without-tab-characters
2023-07-06 07:58:00 +03:00
Anatoli Babenia
02182266ec
goreleaser now adds _v1 suffix to binaries
https://goreleaser.com/customization/builds/#why-is-there-a-_v1-suffix-on-amd64-builds
2023-07-06 07:44:19 +03:00
Anatoli Babenia
1eb78e1ab7
.goreleaser.yml deprecated docker.binaries
https://goreleaser.com/deprecations/?h=#dockerbinaries
2023-07-06 07:27:44 +03:00
Anatoli Babenia
ebe293c24b
.goreleaser.yml deprecated brews.github
https://goreleaser.com/deprecations/?h=#brewsgithub
2023-07-06 07:25:47 +03:00
Anatoli Babenia
3d7eb32d7e
Make goreleaser script executable 2023-07-06 07:18:29 +03:00
Anatoli Babenia
ba3c9125e1
golangci-lint got new install URL too
https://goreleaser.com/deprecations/#godownloader
2023-07-06 07:03:13 +03:00
Anatoli Babenia
9fe4975733
Debug GitHub Actions /home/runner/.local/bin
It says this PATH dir does not exist
2023-07-06 06:58:24 +03:00
Anatoli Babenia
6c0552e182
Change PATH to $HOME/.local/bin for GitHub Actions
PATH in GitHub Actions:
/opt/hostedtoolcache/go/1.19.10/x64/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/snap/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin

PATH in CircleCI:
/home/circleci/go/bin:/usr/local/go/bin:/home/circleci/bin:/home/circleci/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2023-07-06 06:53:07 +03:00
Anatoli Babenia
0c9b09ea77
Add PATH inspection to an earlier command 2023-07-06 06:47:23 +03:00
Anatoli Babenia
ac0fa872cd
Test what directories are available on PATH
Actual for CircleCI and GitHub Actions
2023-07-06 06:45:14 +03:00
Anatoli Babenia
741f95aa8a
New goreleaser install method
https://goreleaser.com/deprecations/#godownloader
2023-07-06 06:34:11 +03:00
Anatoli Babenia
a19a6f9acc
Catch pipefail errors in Makefile
https://stackoverflow.com/questions/33925523/how-to-set-pipefail-in-a-makefile
2023-07-06 06:26:02 +03:00
Alex Goodman
361037f272
Merge pull request #455 from luhring/fix-vulns
Bump module versions to resolve vulnerabilities
2023-07-05 10:09:43 -04:00
Alex Goodman
1a22e89676 keep go back at 1.19 due to ui breakage 2023-07-05 09:48:20 -04:00
Dan Luhring
791d1e0254
Unhide Makefile CI step
Signed-off-by: Dan Luhring <dluhring@chainguard.dev>
2023-07-04 12:40:13 -04:00
Dan Luhring
5d6b462440
Use supported Go image
Signed-off-by: Dan Luhring <dluhring@chainguard.dev>
2023-07-04 11:58:54 -04:00
Dan Luhring
b266fa39c8
Revert go build tag upgrade
Signed-off-by: Dan Luhring <dluhring@chainguard.dev>
2023-07-04 11:39:36 -04:00
Dan Luhring
a9978d3cc9
Update Go version
Signed-off-by: Dan Luhring <dluhring@chainguard.dev>
2023-07-04 11:37:30 -04:00
Dan Luhring
6884c46d0f
Bump module versions to resolve vulnerabilities
Signed-off-by: Dan Luhring <dluhring@chainguard.dev>
2023-07-04 11:17:20 -04:00
dosisod
4fad38207e Allow for autodetecting both .yaml and .yml config files 2022-05-13 23:33:31 -07:00
Luka Markušić
2aad87c37e Refactor the GUI layout
The Details struct was split into two, LayerDetails and ImageDetails,
Each of the three views (Layer, LayerDetails, ImageDetails) takes up
a third of the available height of the screen, and they are all now
selectable and scrollable.
2022-04-30 00:17:32 +02:00
lightsnowball
2030e74234 Fix error on Layer section and reduce information on one line per step.
Instead of printing out multiple lines for some steps in Layer section,
now its only printing one line while other informations can be found in
Layer details. This change also provides fix for index out of bounds
error when user scrolls through steps in Layer section and there exists
at least one step with multi-line commands.
2022-04-29 21:57:16 +02:00
lightsnowball
4146421e60 Fix error on Layer section and reduce information on one line per step.
Instead of printing out multiple lines for some steps in Layer section,
now its only printing one line while other informations can be found in
Layer details. This change also provides fix for index out of bounds
error when user scrolls through steps in Layer section and there exists
at least one step with multi-line commands.
2022-04-22 20:12:36 +02:00
Michael Herold
7dfef036c7
Support podman in macOS
With [a fix][1] in [podman v3.4.3][2], these commands now work as
expected in macOS. Potentially, it might make sense to version check
podman to ensure that the minimum version is met, but I'm not sure
that's needed because it's unlikely that people have an older version
installed _and_ wish to use this tool.

I'm unsure whether the commands work on Windows so I left the
unsupported version there compiling with the negation of the supported
flags.

[1]: https://github.com/containers/podman/issues/12402
[2]: 4ba71f955a/RELEASE_NOTES.md (bugfixes-2)
2022-03-31 10:10:55 -05:00
Alex Goodman
c7d121b3d7
remove meetup callout 2021-07-02 10:26:05 -04:00
Alex Goodman
aace339ad7
add OSS virtual meetup callout 2021-06-24 13:20:39 -04:00
Alex Goodman
64880972b0 add ci integration test with kaniko image 2021-03-07 16:40:07 -05:00
Alex Goodman
764a228115
Merge pull request #339 from breun/document-macports-install
Document MacPorts install
2021-03-07 16:06:39 -05:00
Nils Breunese
4457be08bc Document MacPorts install 2021-02-26 14:58:57 +01:00
Alex Goodman
b8d2d3d725
Merge pull request #332 from cxsu/wrap-tree
Add wrapping tree key
2021-01-02 12:00:50 -05:00
Alex Goodman
341239b07f
Merge branch 'master' into wrap-tree 2021-01-02 11:59:36 -05:00
Alex Goodman
6f15b4c07f
Merge pull request #331 from cxsu/update-gocui
Update gocui module
2021-01-02 11:58:52 -05:00
cxsu
aadcbcb443 Add wrapping tree key 2020-12-27 22:52:20 +09:00
cxsu
d4a9c08079 Fix detail wrap option 2020-12-27 21:55:48 +09:00
cxsu
b310bdb2d6 Add module awesome-gocui/keybinding 2020-12-27 20:28:29 +09:00
cxsu
5e9380dc63 Update gocui module 2020-12-27 14:56:03 +09:00
springcomet
3430221ada
Add image name to details view (#325)
* Add image name to details view

When frequently opening multiple images perhaps concurrently on multiple
terminals, it would be convenient to have the image name displayed.

This commit adds the image name to the Image Details view.
Image name is trickled down as an additional string argument

design alternatives discarded:
pass in analysis struct - is not related to analysis
pass new struct with image attributes - premature abstraction

* Fix CI lint errors

Co-authored-by: Aviv Shavit <aviv.shavit@aquasec.com>
2020-12-12 07:46:09 -05:00
Alex Goodman
739416b7b6
Merge pull request #327 from avisiedo/add-support-for-docker-archives
docker-archive: Add support for kaniko
2020-12-12 07:43:25 -05:00
Alejandro Visiedo
ec6b2277b8 docker-archive: Add support for kaniko 2020-10-31 23:12:25 +01:00
Alex Goodman
bed359c3cf
Merge pull request #320 from gliptak/patch-2
Bring Go current for CircleCI
2020-09-26 00:04:01 -04:00
Alex Goodman
92bcd30467
Merge pull request #321 from gliptak/patch-3
Bring Go current for GH build
2020-09-26 00:03:29 -04:00