Skip to content

Commit

Permalink
Upload Release artifacts to Azure (nginx#3123)
Browse files Browse the repository at this point in the history
Upload SBOM to Azure
  • Loading branch information
lucacome authored and coolbry95 committed Nov 18, 2022
1 parent de7bb29 commit becef0b
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -328,6 +328,10 @@ jobs:
AWS_PRODUCT_CODE: ${{ secrets.AWS_PRODUCT_CODE }}
AWS_PUB_KEY: ${{ secrets.AWS_PUB_KEY }}
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK_COMMUNITY }}
AZURE_STORAGE_ACCOUNT: ${{ secrets.AZURE_STORAGE_ACCOUNT }}
AZURE_STORAGE_KEY: ${{ secrets.AZURE_STORAGE_KEY }}
AZURE_BUCKET_NAME: ${{ secrets.AZURE_BUCKET_NAME }}

- name: Store Artifacts in Cache
uses: actions/cache@v3
with:
Expand Down
11 changes: 7 additions & 4 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ builds:

archives:
- id: kubernetes-ingress
format: binary
builds: [kubernetes-ingress]

changelog:
Expand All @@ -54,13 +53,17 @@ checksum:
name_template: 'checksums.txt'

sboms:
- artifacts: binary
- artifacts: archive
ids: [kubernetes-ingress]

release:
ids: [kubernetes-ingress]
extra_files:
- glob: ./dist/**.sbom

blobs:
- provider: azblob
bucket: '{{.Env.AZURE_BUCKET_NAME}}'
extra_files:
- glob: ./dist/**.sbom

milestones:
- close: true
Expand Down

0 comments on commit becef0b

Please sign in to comment.