diff --git a/eng/pipelines/dotnet-core-samples.yml b/eng/pipelines/dotnet-core-samples.yml index 131b2ae38b..634f240458 100644 --- a/eng/pipelines/dotnet-core-samples.yml +++ b/eng/pipelines/dotnet-core-samples.yml @@ -11,6 +11,15 @@ parameters: type: string default: $(Build.BuildId) +- name: noCache + displayName: > + Run build with no cache. When this is unchecked, the build will use the + info in the dotnet/versions repo to build only the images which have had + Dockerfile changes or base images updates. When this is checked, all images + will be built regardless of caching status. + type: boolean + default: false + variables: - template: /eng/pipelines/variables/samples.yml@self - template: /eng/docker-tools/templates/variables/dotnet/secrets.yml@self @@ -36,6 +45,7 @@ extends: stagesTemplateParameters: versionsRepoRef: VersionsRepo sourceBuildPipelineRunId: ${{ parameters.sourceBuildPipelineRunId }} + noCache: ${{ parameters.noCache }} additionalServiceConnections: - name: $(kusto.serviceConnectionName) - name: $(marStatus.serviceConnectionName)