Skip to content

Commit

Permalink
fix: enable DOCKER_CONTENT_TRUST
Browse files Browse the repository at this point in the history
  • Loading branch information
hairmare authored Mar 10, 2023
1 parent b8158d1 commit 5256001
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,8 @@ 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 @@ -125,6 +127,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 5256001

Please sign in to comment.