Skip to content

Commit

Permalink
fix: replace env variables with contexts (chaos-mesh#3773)
Browse files Browse the repository at this point in the history
Signed-off-by: Yue Yang <[email protected]>

Signed-off-by: Yue Yang <[email protected]>
  • Loading branch information
g1eny0ung authored Nov 11, 2022
1 parent 628e68d commit 9d17421
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/upload_image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -163,10 +163,10 @@ jobs:
with:
files: |
cosign.pub
ghcr.io-chaos-mesh-chaos-mesh-$IMAGE_TAG.sig
ghcr.io-chaos-mesh-chaos-daemon-$IMAGE_TAG.sig
ghcr.io-chaos-mesh-chaos-dashboard-$IMAGE_TAG.sig
ghcr.io-chaos-mesh-chaos-kernel-$IMAGE_TAG.sig
ghcr.io-chaos-mesh-chaos-mesh-${{ needs.build-specific-architecture.outputs.image_tag }}.sig
ghcr.io-chaos-mesh-chaos-daemon-${{ needs.build-specific-architecture.outputs.image_tag }}.sig
ghcr.io-chaos-mesh-chaos-dashboard-${{ needs.build-specific-architecture.outputs.image_tag }}.sig
ghcr.io-chaos-mesh-chaos-kernel-${{ needs.build-specific-architecture.outputs.image_tag }}.sig
sbom:
needs: build-specific-architecture
Expand All @@ -185,12 +185,12 @@ jobs:
go-version: "1.18"

- name: Install bom
run: go install sigs.k8s.io/bom/cmd/bom
run: go install sigs.k8s.io/bom/cmd/bom@latest

- name: Generate SBOM
run: bom generate -n https://chaos-mesh.org/chaos-mesh.spdx -o chaos-mesh-$IMAGE_TAG-sbom.spdx .

- name: Upload SBOM
uses: softprops/action-gh-release@v1
with:
files: chaos-mesh-$IMAGE_TAG-sbom.spdx
files: chaos-mesh-${{ needs.build-specific-architecture.outputs.image_tag }}-sbom.spdx

0 comments on commit 9d17421

Please sign in to comment.