We're starting to use Azure DevOps to build and deploy my application. Currently, we do not upload the application images to our repo. I Would like to know if I could download all the images to the artifact that is going to be generated during the build pipeline.
My yml pipeline : trigger: - develop
pool: vmImage: 'windows-latest'
variables: solution: '**/*.sln' buildPlatform: 'Any CPU' buildConfiguration: 'Release'
steps: - task: NuGetToolInstaller@0
task: NuGetCommand@2 inputs: restoreSolution: '$(solution)'
task: Npm@1 inputs: command: 'install' workingDir: 'applicationFolder/app'
task: VSBuild@1 inputs: solution: '$(solution)' msbuildArgs: '/p:DeployOnBuild=true /p:WebPublishMethod=Package /p:PackageAsSingleFile=true /p:SkipInvalidConfigurations=true /p:PackageLocation="$(build.artifactStagingDirectory)"' platform: '$(buildPlatform)' configuration: '$(buildConfiguration)'
task: PublishBuildArtifacts@1 inputs: PathtoPublish: '$(Build.ArtifactStagingDirectory)' ArtifactName: 'drop' publishLocation: 'Container'