Skip to content

Commit ebbd28c

Browse files
authored
Upload Release artifacts to Azure (#3123)
Upload SBOM to Azure
1 parent a6b6140 commit ebbd28c

File tree

2 files changed

+11
-4
lines changed

2 files changed

+11
-4
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -328,6 +328,10 @@ jobs:
328328
AWS_PRODUCT_CODE: ${{ secrets.AWS_PRODUCT_CODE }}
329329
AWS_PUB_KEY: ${{ secrets.AWS_PUB_KEY }}
330330
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK_COMMUNITY }}
331+
AZURE_STORAGE_ACCOUNT: ${{ secrets.AZURE_STORAGE_ACCOUNT }}
332+
AZURE_STORAGE_KEY: ${{ secrets.AZURE_STORAGE_KEY }}
333+
AZURE_BUCKET_NAME: ${{ secrets.AZURE_BUCKET_NAME }}
334+
331335
- name: Store Artifacts in Cache
332336
uses: actions/cache@v3
333337
with:

.goreleaser.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ builds:
4444

4545
archives:
4646
- id: kubernetes-ingress
47-
format: binary
4847
builds: [kubernetes-ingress]
4948

5049
changelog:
@@ -54,13 +53,17 @@ checksum:
5453
name_template: 'checksums.txt'
5554

5655
sboms:
57-
- artifacts: binary
56+
- artifacts: archive
5857
ids: [kubernetes-ingress]
5958

6059
release:
6160
ids: [kubernetes-ingress]
62-
extra_files:
63-
- glob: ./dist/**.sbom
61+
62+
blobs:
63+
- provider: azblob
64+
bucket: '{{.Env.AZURE_BUCKET_NAME}}'
65+
extra_files:
66+
- glob: ./dist/**.sbom
6467

6568
milestones:
6669
- close: true

0 commit comments

Comments
 (0)