Task name
NuGetAuthenticate@1
Task version
1.263.4
Environment type (Please select at least one enviroment where you face this issue)
Azure DevOps Server type
dev.azure.com (formerly visualstudio.com)
Azure DevOps Server Version (if applicable)
No response
Operation system
windows-latest & linux-latest
Question
Hello
Following the code path I can see it calls getSystemAccessToken.
How often does this token change, is it different for each pipeline run.
Reason is this is going to be sent over to a docker build and be part of a layer, and if this changes each run that layer cache will be invalidated and subsequently cause the build to generate all layers after, effectively disabling docker layer caching for the build.
If it does change each run, is there a way to use a fixed API key for a feed within the same org, in a similar way you can for external orgs?