Skip to content

Commit 501a850

Browse files
committed
add the sbom action
1 parent 4efc5b7 commit 501a850

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/publish_container.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ jobs:
6363
id: build-push-latest
6464
uses: docker/build-push-action@v5
6565
with:
66-
context: .
66+
context:
6767
push: true
6868
tags: ${{ steps.meta.outputs.tags }}
6969
labels: ${{ steps.meta.outputs.labels }}
@@ -75,6 +75,8 @@ jobs:
7575
with:
7676
image: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ steps.meta.outputs.tags }}
7777
output-file: sbom-image-latest.json
78+
registry-username: ${{ github.actor }}
79+
registry-password: ${{ secrets.GITHUB_TOKEN }}
7880
- name: Attest image
7981
uses: github-early-access/generate-build-provenance@main
8082
with:

0 commit comments

Comments
 (0)