Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cmd: change dir and binary name #179

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.
Loading