forked from nfelger/achill
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update node to latest LTS and add SBOM generation during pipeline runs
- Loading branch information
Showing
2 changed files
with
7 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,7 +23,7 @@ jobs: | |
- name: Setup Node | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: "16.13.0" | ||
node-version: "18.18.0" | ||
cache: "npm" | ||
|
||
- run: npm install | ||
|
@@ -82,6 +82,11 @@ jobs: | |
docker tag ${{ env.IMAGE_NAME }}:${{ github.sha }} ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ github.sha }} | ||
docker push --all-tags ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} | ||
- name: Generate SBOM and upload to GitHub | ||
uses: anchore/[email protected] | ||
with: | ||
image: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ github.sha }} | ||
|
||
deploy: | ||
needs: [build-push-image] | ||
if: github.ref == 'refs/heads/main' | ||
|
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