Skip to content

Commit 8859428

Browse files
Merge branch 'feat/introduction-to-azure-pipelines' of github-private.com:kristiyan-velkov/docker-docs into feat/introduction-to-azure-pipelines
2 parents e178661 + 8f518ca commit 8859428

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

content/guides/azure-pipelines.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ pr:
5252
# Define variables for reuse across the pipeline
5353
variables:
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
140139
variables:
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
```

0 commit comments

Comments
 (0)