Skip to content

Commit bd7c11b

Browse files
github-actions[bot]Copilotlbussell
authored
[main] Add no-cache parameter to samples pipeline (#7197)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: lbussell <36081148+lbussell@users.noreply.github.com>
1 parent 39a86e3 commit bd7c11b

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)