Skip to content
This repository has been archived by the owner on Jun 13, 2021. It is now read-only.

Set build arg values in docker.Makefile #680

Merged
merged 1 commit into from Oct 10, 2019

Conversation

zappy-shu
Copy link
Contributor

- What I did

Sets the values of the --build-args passed through to docker build from vars.mk when using make with docker.Makefile. This will correctly set the TAG so that the binary versions are set as when using the standard Makefile directly.

- How I did it

Constructed BUILD_ARGS using variables from vars.mk

- How to verify it

Run make -f docker.Makefile cross and ensure that the app --version command of the resulting binaries print a version (e.g. v0.6.0-516-g6a9e04b5c5-dirty) rather than unknown

- Description for the changelog

Sets build args when building with docker.Makefile

@codecov
Copy link

codecov bot commented Oct 10, 2019

Codecov Report

Merging #680 into master will increase coverage by 0.03%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #680      +/-   ##
==========================================
+ Coverage   71.34%   71.37%   +0.03%     
==========================================
  Files          56       56              
  Lines        2886     2886              
==========================================
+ Hits         2059     2060       +1     
+ Misses        563      562       -1     
  Partials      264      264
Impacted Files Coverage Δ
types/parameters/parameters.go 93.65% <0%> (+1.58%) ⬆️

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 6a9e04b...a4c63e5. Read the comment docs.

Sets the values of the --build-args passed through to docker build from
vars.mk when using make with docker.Makefile. This will correctly set
the TAG so that the binary versions are set as when using the standard
Makefile directly

Signed-off-by: Nick Adcock <nick.adcock@docker.com>
@glours glours merged commit 58e773c into docker:master Oct 10, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants