Skip to content

Commit 3555362

Browse files
dan-vclaude
andcommitted
Remove bootstrap binary from release artifacts
- Bootstrap is embedded in main binary, separate file not needed - Simplify release archives to contain only lambda-nat-proxy binary - Reduce artifact size and user confusion - Embed process unchanged - bootstrap still gets embedded during build 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 3123b5b commit 3555362

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

.github/workflows/build-and-release.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -112,14 +112,11 @@ jobs:
112112
run: |
113113
mkdir -p build
114114
CGO_ENABLED=0 go build -a -installsuffix cgo -o build/lambda-nat-proxy ./cmd/lambda-nat-proxy
115-
116-
# Copy bootstrap to build directory
117-
cp cmd/lambda-nat-proxy/assets/bootstrap build/
118115
119116
- name: Create archive
120117
run: |
121118
cd build
122-
tar -czf lambda-nat-proxy-${{ matrix.goos }}-${{ matrix.goarch }}.tar.gz lambda-nat-proxy bootstrap
119+
tar -czf lambda-nat-proxy-${{ matrix.goos }}-${{ matrix.goarch }}.tar.gz lambda-nat-proxy
123120
mv lambda-nat-proxy-${{ matrix.goos }}-${{ matrix.goarch }}.tar.gz ../
124121
125122
- name: Upload build artifact

0 commit comments

Comments
 (0)