Skip to content

Commit

Permalink
cmd: change dir and binary name
Browse files Browse the repository at this point in the history
TODO

Signed-off-by: crozzy <[email protected]>
  • Loading branch information
crozzy committed Sep 6, 2024
1 parent 5ed57a1 commit 719a3b0
Show file tree
Hide file tree
Showing 10 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# TODO (crozzy): once claircore PRs are merged, add vendor and build
/matcher.db
/tmp
/feeds
/reports
/vendor
clair-action
/clair-action
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ vendor/modules.txt: go.mod
build: clair-action

clair-action: vendor
go build -o clair-action ./cmd/...
go build ./cmd/...
2 changes: 1 addition & 1 deletion cli.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ RUN go build \
-o clair-action \
-trimpath \
-ldflags="-s -w$(test -n "${CLAIR_ACTION_VERSION}" && printf " -X 'main.Version=%s'" "${CLAIR_ACTION_VERSION}")" \
./cmd/cli
./cmd/clair-action

# Final image
FROM registry.access.redhat.com/ubi8/ubi-minimal as final
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 719a3b0

Please sign in to comment.