mirror of
https://github.com/hashicorp/packer.git
synced 2026-05-28 04:35:38 -04:00
Add LICENSE to zipped Go binaries
This commit is contained in:
parent
f05124e2a4
commit
72a2604b34
1 changed files with 3 additions and 0 deletions
3
.github/workflows/build.yml
vendored
3
.github/workflows/build.yml
vendored
|
|
@ -121,6 +121,7 @@ jobs:
|
|||
arch: ${{ matrix.goarch }}
|
||||
reproducible: report
|
||||
instructions: |-
|
||||
cp LICENSE.txt "$TARGET_DIR/"
|
||||
go build -o "$BIN_PATH" -ldflags="$LD_FLAGS" -trimpath -buildvcs=false
|
||||
|
||||
build-linux:
|
||||
|
|
@ -158,6 +159,7 @@ jobs:
|
|||
arch: ${{ matrix.goarch }}
|
||||
reproducible: report
|
||||
instructions: |-
|
||||
cp LICENSE.txt "$TARGET_DIR/"
|
||||
go build -o "$BIN_PATH" -ldflags="$LD_FLAGS" -trimpath -buildvcs=false
|
||||
|
||||
- name: Linux Packaging
|
||||
|
|
@ -220,6 +222,7 @@ jobs:
|
|||
arch: ${{ matrix.goarch }}
|
||||
reproducible: report
|
||||
instructions: |-
|
||||
cp LICENSE.txt "$TARGET_DIR/"
|
||||
go build -o "$BIN_PATH" -ldflags="$LD_FLAGS" -tags netcgo -trimpath -buildvcs=false
|
||||
|
||||
build-docker-light:
|
||||
|
|
|
|||
Loading…
Reference in a new issue