File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change 5252# Define variables for reuse across the pipeline
5353variables :
5454 imageName : ' docker.io/$(dockerUsername)/my-image'
55- dockerUsername : ' your-dockerhub-username' # Replace with your Docker Hub username
5655 buildTag : ' $(Build.BuildId)'
5756 latestTag : ' latest'
5857
@@ -84,7 +83,7 @@ stages:
8483 $(buildTag)
8584 $(latestTag)
8685 dockerfile : ' ./Dockerfile'
87- arguments : ' --cache-from $(imageName):latest'
86+ arguments : ' --sbom=true --attest type=provenance -- cache-from $(imageName):latest'
8887 env :
8988 DOCKER_BUILDKIT : 1
9089
@@ -139,7 +138,6 @@ This pipeline is triggered automatically on:
139138` ` ` yaml
140139variables:
141140 imageName: 'docker.io/$(dockerUsername)/my-image'
142- dockerUsername: 'your-dockerhub-username' # Replace with your actual Docker Hub username
143141 buildTag: '$(Build.BuildId)'
144142 latestTag: 'latest'
145143` ` `
You can’t perform that action at this time.
0 commit comments