-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* bom analysis tool deployment docs * Use Develop as target branch * Bump phoenix_html from 2.14.2 to 2.14.3 Bumps [phoenix_html](https://github.com/phoenixframework/phoenix_html) from 2.14.2 to 2.14.3. - [Release notes](https://github.com/phoenixframework/phoenix_html/releases) - [Changelog](https://github.com/phoenixframework/phoenix_html/blob/master/CHANGELOG.md) - [Commits](phoenixframework/phoenix_html@v2.14.2...v2.14.3) Signed-off-by: dependabot[bot] <[email protected]> * Bump credo from 1.5.1 to 1.5.3 Bumps [credo](https://github.com/rrrene/credo) from 1.5.1 to 1.5.3. - [Release notes](https://github.com/rrrene/credo/releases) - [Changelog](https://github.com/rrrene/credo/blob/master/CHANGELOG.md) - [Commits](rrrene/credo@v1.5.1...v1.5.3) Signed-off-by: dependabot[bot] <[email protected]> * Revert "Bump webpack-cli from 3.3.12 to 4.2.0 in /assets" * Automate sbom generation (#109) * added sbom dependancy * automate bom creation process * updated instruction of generating sbom file * update when error occurs on macos * checkin udated lock file Co-authored-by: sigu <[email protected]> * use hexpm elixir docker image (#104) * change schedule interval (#116) * Auto create bom on release (#117) * zip readme to test release asset creation * create bom assets Co-authored-by: sigu <[email protected]> Co-authored-by: Wanjiku Macharia <[email protected]> Co-authored-by: WanjikuMac <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Sigu Magwa <[email protected]>
- Loading branch information
1 parent
ab1ab81
commit 54c4825
Showing
9 changed files
with
283 additions
and
294 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
on: | ||
push: | ||
tags: | ||
- 'v*' | ||
|
||
name: Upload Release Asset | ||
|
||
jobs: | ||
build: | ||
name: Upload Release Asset | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set up Elixir | ||
uses: actions/setup-elixir@v1 | ||
with: | ||
elixir-version: '1.11.2' # Define the elixir version [required] | ||
otp-version: '22.3' # Define the OTP version [required] | ||
- name: Restore dependencies cache | ||
uses: actions/cache@v2 | ||
with: | ||
path: deps | ||
key: ${{ runner.os }}-mix-${{ hashFiles('**/mix.lock') }} | ||
restore-keys: ${{ runner.os }}-mix- | ||
- name: Setup Node | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: 14.13.0 | ||
- name: Checkout code | ||
uses: actions/checkout@v2 | ||
- name: Build project | ||
run: | | ||
curl -L -o cyclonedx-cli https://github.com/CycloneDX/cyclonedx-cli/releases/download/v0.7.0/cyclonedx-linux-x64 | ||
chmod a+x cyclonedx-cli | ||
make sbom | ||
- name: Create Release | ||
id: create_release | ||
uses: actions/create-release@v1 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
tag_name: ${{ github.ref }} | ||
release_name: Release ${{ github.ref }} | ||
draft: false | ||
prerelease: false | ||
- name: Upload SBOM Json | ||
uses: actions/upload-release-asset@v1 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
upload_url: ${{ steps.create_release.outputs.upload_url }} | ||
asset_path: ./bom.json | ||
asset_name: bom.json | ||
asset_content_type: application/octet-stream | ||
- name: Upload SBOM XML | ||
uses: actions/upload-release-asset@v1 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
upload_url: ${{ steps.create_release.outputs.upload_url }} | ||
asset_path: ./bom.xml | ||
asset_name: bom.xml | ||
asset_content_type: application/octet-stream |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.