mirror of
https://github.com/dangeroustech/ZeroTierBridge.git
synced 2025-12-06 00:56:58 +00:00
ci: move sbom into it's own file
This commit is contained in:
9
.github/workflows/docker-build.yml
vendored
9
.github/workflows/docker-build.yml
vendored
@@ -58,12 +58,3 @@ jobs:
|
||||
tag_name: ${{ steps.changelog.outputs.tag }}
|
||||
name: ${{ steps.changelog.outputs.tag }}
|
||||
body: ${{ steps.changelog.outputs.clean_changelog }}
|
||||
|
||||
- name: Syft SBOM
|
||||
uses: anchore/sbom-action@v0
|
||||
id: sbom
|
||||
if: ${{ steps.changelog.outputs.skipped == 'false' }}
|
||||
with:
|
||||
image: registry.dangerous.tech/dangeroustech/zerotierbridge:latest
|
||||
registry-username: ${{ secrets.REGISTRY_USERNAME }}
|
||||
registry-password: ${{ secrets.REGISTRY_PASSWORD }}
|
||||
|
||||
17
.github/workflows/sbom.yml
vendored
Normal file
17
.github/workflows/sbom.yml
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
name: Generate SBOM
|
||||
|
||||
on:
|
||||
release:
|
||||
types: [created]
|
||||
|
||||
jobs:
|
||||
GenerateSBOM:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Generate SBOM
|
||||
uses: anchore/sbom-action@v0
|
||||
id: sbom
|
||||
with:
|
||||
image: registry.dangerous.tech/dangeroustech/zerotierbridge:latest
|
||||
registry-username: ${{ secrets.REGISTRY_USERNAME }}
|
||||
registry-password: ${{ secrets.REGISTRY_PASSWORD }}
|
||||
Reference in New Issue
Block a user