Skip to content

Commit

Permalink
Update publish_container.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
ejahnGithub authored Jan 24, 2024
1 parent 03fd52d commit 3a9cbe8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/publish_container.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,13 +73,13 @@ jobs:
- name: Generate SBOM for the dev Docker image
uses: anchore/sbom-action@v0
with:
image: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest
path: ./
output-file: sbom-image-latest.json
registry-username: ${{ github.actor }}
registry-password: ${{ secrets.GITHUB_TOKEN }}
// use action upload so i can download and debug
- name: Attest image
uses: github-early-access/generate-build-provenance@main
with:
sbom: sbom-image-latest.json
subject-name: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
subject-digest: ${{ steps.build-push-latest.outputs.digest }}
# - name: Extract metadata (tags, labels) for dev image
Expand Down

0 comments on commit 3a9cbe8

Please sign in to comment.