Skip to content

Commit

Permalink
fix: add DOCKER_CONTENT_TRUST
Browse files Browse the repository at this point in the history
  • Loading branch information
hairmare authored Mar 10, 2023
1 parent d5165fb commit af49236
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,9 @@ jobs:
labels: |
${{ steps.meta.outputs.labels }}
version=${{ steps.meta.outputs.version }}
env:
DOCKER_CONTENT_TRUST: 1


- name: Run Trivy vulnerability scanner
uses: aquasecurity/trivy-action@master
Expand Down Expand Up @@ -127,6 +130,8 @@ jobs:
labels: |
${{ steps.meta.outputs.labels }}
version=${{ steps.meta.outputs.version }}
env:
DOCKER_CONTENT_TRUST: 1

- name: Sign the images with GitHub OIDC Token using cosign
run: cosign sign ${TAGS}
Expand Down

0 comments on commit af49236

Please sign in to comment.