Skip to content

Commit

Permalink
bundle everything properly
Browse files Browse the repository at this point in the history
  • Loading branch information
pgcrooks-sysdig committed Jan 23, 2025
1 parent f90c0ff commit 4ef8a28
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,17 +27,13 @@ jobs:
- name: Build handler 🏗️
run: |
FIPS=false make -C runtimes/cloudformation clean cmd/handler/handler
sha256sum cmd/handler/handler >> checksums.txt
- name: Build handler with FIPS 🏗️
- name: Build handler with FIPS 🔒🏗️
run: |
FIPS=true make -C runtimes/cloudformation clean cmd/handler/handler
mv runtimes/cloudformation/cmd/handler/handler runtimes/cloudformation/cmd/handler/handler-fips
- name: Package handler 📦
id: package
run: |
zip -j agent-kilt.zip runtimes/cloudformation/cmd/handler/handler runtimes/cloudformation/cmd/handler/handler-fips
sha256sum ${PACKAGE_NAME} > checksums.txt
sha256sum cmd/handler/handler-fips >> checksums.txt
- name: Create GitHub Release ⭐
id: create_release
Expand All @@ -46,6 +42,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
files: |
agent-kilt.zip
cmd/handler/handler
cmd/handler/handler-fips
checksums.txt
name: ${{ github.ref_name }}

0 comments on commit 4ef8a28

Please sign in to comment.