File tree 3 files changed +10
-6
lines changed
3 files changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -23,6 +23,10 @@ perform Hub maintenance tasks.
23
23
[ here] ( https://github.com/docker/hub-tool/releases )
24
24
- Extract the package and place the ` hub-tool ` binary somewhere in your ` PATH `
25
25
26
+ OR
27
+
28
+ - Install from sources: ` go install github.com/docker/hub-tool `
29
+
26
30
### Login to Docker Hub
27
31
28
32
Login to the [ Docker Hub] ( https://hub.docker.com ) using your username and
Original file line number Diff line number Diff line change @@ -57,18 +57,18 @@ test-unit:
57
57
58
58
.PHONY :cross
59
59
cross :
60
- GOOS=linux GOARCH=amd64 $(STATIC_FLAGS ) $(GO_BUILD ) -o bin/$(BINARY_NAME ) _linux_amd64 ./cmd/ $( BINARY_NAME )
61
- GOOS=linux GOARCH=arm64 $(STATIC_FLAGS ) $(GO_BUILD ) -o bin/$(BINARY_NAME ) _linux_arm64 ./cmd/ $( BINARY_NAME )
62
- GOOS=linux GOARCH=arm $(STATIC_FLAGS ) $(GO_BUILD ) -o bin/$(BINARY_NAME ) _linux_arm ./cmd/ $( BINARY_NAME )
63
- GOOS=darwin GOARCH=amd64 $(STATIC_FLAGS ) $(GO_BUILD ) -o bin/$(BINARY_NAME ) _darwin_amd64 ./cmd/ $( BINARY_NAME )
64
- GOOS=windows GOARCH=amd64 $(STATIC_FLAGS ) $(GO_BUILD ) -o bin/$(BINARY_NAME ) _windows_amd64.exe ./cmd/ $( BINARY_NAME )
60
+ GOOS=linux GOARCH=amd64 $(STATIC_FLAGS ) $(GO_BUILD ) -o bin/$(BINARY_NAME ) _linux_amd64 .
61
+ GOOS=linux GOARCH=arm64 $(STATIC_FLAGS ) $(GO_BUILD ) -o bin/$(BINARY_NAME ) _linux_arm64 .
62
+ GOOS=linux GOARCH=arm $(STATIC_FLAGS ) $(GO_BUILD ) -o bin/$(BINARY_NAME ) _linux_arm .
63
+ GOOS=darwin GOARCH=amd64 $(STATIC_FLAGS ) $(GO_BUILD ) -o bin/$(BINARY_NAME ) _darwin_amd64 .
64
+ GOOS=windows GOARCH=amd64 $(STATIC_FLAGS ) $(GO_BUILD ) -o bin/$(BINARY_NAME ) _windows_amd64.exe .
65
65
66
66
# Note we're building statically for now to simplify releases. We can
67
67
# investigate dynamic builds later.
68
68
.PHONY : build
69
69
build :
70
70
mkdir -p bin
71
- $(STATIC_FLAGS ) $(GO_BUILD ) -o bin/$(PLATFORM_BINARY ) ./cmd/ $( BINARY_NAME )
71
+ $(STATIC_FLAGS ) $(GO_BUILD ) -o bin/$(PLATFORM_BINARY ) .
72
72
cp bin/$(PLATFORM_BINARY ) bin/$(BINARY )
73
73
74
74
.PHONY : package
File renamed without changes.
You can’t perform that action at this time.
0 commit comments