Skip to content

Commit 79b92ed

Browse files
Copilotlbussell
andauthored
Add noCache parameter to samples pipeline
Agent-Logs-Url: https://github.com/dotnet/dotnet-docker/sessions/78d33d4a-a70d-4136-9d7a-ef46fa20d0ec Co-authored-by: lbussell <36081148+lbussell@users.noreply.github.com>
1 parent 5723cb0 commit 79b92ed

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

eng/pipelines/dotnet-core-samples.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,15 @@ parameters:
1111
type: string
1212
default: $(Build.BuildId)
1313

14+
- name: noCache
15+
displayName: >
16+
Run build with no cache. When this is unchecked, the build will use the
17+
info in the dotnet/versions repo to build only the images which have had
18+
Dockerfile changes or base images updates. When this is checked, all images
19+
will be built regardless of caching status.
20+
type: boolean
21+
default: false
22+
1423
variables:
1524
- template: /eng/pipelines/variables/samples.yml@self
1625
- template: /eng/docker-tools/templates/variables/dotnet/secrets.yml@self
@@ -36,6 +45,7 @@ extends:
3645
stagesTemplateParameters:
3746
versionsRepoRef: VersionsRepo
3847
sourceBuildPipelineRunId: ${{ parameters.sourceBuildPipelineRunId }}
48+
noCache: ${{ parameters.noCache }}
3949
additionalServiceConnections:
4050
- name: $(kusto.serviceConnectionName)
4151
- name: $(marStatus.serviceConnectionName)

0 commit comments

Comments
 (0)