diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2db2ef9..7b423f5 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 @@ -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 }}