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

Fixes issue #391: Replaced calling docker directly by using "make build-docker" #522

Merged
merged 3 commits into from
Nov 26, 2019

Conversation

robertojrojas
Copy link
Contributor

Fixes issue #391:

Replaced calling docker directly by using "make build-docker"

@codecov
Copy link

codecov bot commented Nov 26, 2019

Codecov Report

Merging #522 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@          Coverage Diff           @@
##           master    #522   +/-   ##
======================================
  Coverage    65.8%   65.8%           
======================================
  Files          11      11           
  Lines        1000    1000           
======================================
  Hits          658     658           
  Misses        305     305           
  Partials       37      37

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 47c5661...20cb409. Read the comment docs.

@@ -15,7 +15,7 @@ before_install:

script:
- GO111MODULE=on go test ./...
- docker build --tag kube-bench .
- IMAGE_NAME=kube-bench make build-docker
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there any reason to keep IMAGE_NAME var outside of makefile?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The use of the IMAGE_NAME is to make sure the line following that one continues to work.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All right, I thought that the defaults hardcoded in makefile are enough, so when I run make build-docker it would work the same way as on Travis.

@danielpacak danielpacak self-requested a review November 26, 2019 16:14
Copy link
Contributor

@danielpacak danielpacak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants