Skip to content

Commit

Permalink
Misc. Fixes (#153)
Browse files Browse the repository at this point in the history
* Sets CGO_ENABLED=0
* Corrects xml output label to json
* More demo sboms

---------

Co-authored-by: Mirxcle <130690850+mirxcle@users.noreply.github.com>
  • Loading branch information
djschleen and mirxcle committed Apr 13, 2023
1 parent 3fb6906 commit c67aa58
Show file tree
Hide file tree
Showing 11 changed files with 196,036 additions and 67 deletions.
2 changes: 2 additions & 0 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ project_name: bomber
builds:
-
binary: bomber
env:
- CGO_ENABLED=0
goos:
- darwin
- linux
Expand Down
10 changes: 5 additions & 5 deletions .hookz.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,11 @@
- name: "go: Test coverage"
exec: go
args: ["tool", "cover", "-func=coverage.out"]
- name: "syft: Generate a Software Bill of Materials (SBoM)"
script: "
#!/bin/bash \n
syft . -o cyclonedx-json=sbom/bomber.cyclonedx.json &> /dev/null \n
"
# - name: "syft: Generate a Software Bill of Materials (SBoM)"
# script: "
# #!/bin/bash \n
# syft . -o cyclonedx-json=sbom/bomber.cyclonedx.json &> /dev/null \n
# "
- name: "git: Add all changed files during the pre-commit stage"
exec: git
args: ["add", "."]

0 comments on commit c67aa58

Please sign in to comment.