generated from d2iq-archive/golang-repository-template
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: Add skopeo static builds as git lfs objects
- Loading branch information
1 parent
51aab63
commit d2052a9
Showing
10 changed files
with
33 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
skopeo/static/skopeo-windows-amd64.exe filter=lfs diff=lfs merge=lfs -text | ||
skopeo/static/skopeo-windows-arm64.exe filter=lfs diff=lfs merge=lfs -text | ||
skopeo/static/skopeo-darwin-amd64 filter=lfs diff=lfs merge=lfs -text | ||
skopeo/static/skopeo-darwin-arm64 filter=lfs diff=lfs merge=lfs -text | ||
skopeo/static/skopeo-linux-amd64 filter=lfs diff=lfs merge=lfs -text | ||
skopeo/static/skopeo-linux-arm64 filter=lfs diff=lfs merge=lfs -text |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,5 +21,4 @@ openapi_violations.report | |
dist/ | ||
.local/ | ||
|
||
skopeo/static | ||
.image-bundle-* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,10 @@ | ||
.PHONY: upx | ||
ifeq ($(IS_SNAPSHOT),false) | ||
ifneq ($(GOOS)/$(GOARCH),windows/arm64) | ||
upx: install-tool.upx | ||
endif | ||
endif | ||
upx: UPX_REAL_TARGET := $(addsuffix $(if $(filter $(GOOS),windows),.exe),$(basename $(UPX_TARGET))) | ||
ifeq ($(GOOS)/$(GOARCH),windows/arm64) | ||
upx: ; $(info $(M) skipping packing $(UPX_REAL_TARGET) - $(GOOS)/$(GOARCH) is not yet supported by upx) | ||
else | ||
upx: install-tool.upx | ||
upx: ## Pack executable using upx | ||
upx: ; $(info $(M) packing $(UPX_REAL_TARGET)) | ||
ifeq ($(IS_SNAPSHOT),false) | ||
ifneq ($(GOOS)/$(GOARCH),windows/arm64) | ||
(upx -l $(UPX_REAL_TARGET) &>/dev/null && echo $(UPX_REAL_TARGET) is already packed) || upx -9 $(UPX_REAL_TARGET) | ||
endif | ||
endif |
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown