File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -11,10 +11,10 @@ ENV ACCESS_TO_NUGET_FEED=$ACCESS_TO_NUGET_FEED
1111RUN sh -c "$(curl -fsSL https://aka.ms/install-artifacts-credprovider.sh)"
1212WORKDIR /src
1313COPY . .
14- RUN if [ "$ACCESS_TO_NUGET_FEED" = "true" ]; then \
15- --mount=type=secret,id=nuget_auth_token \
16- auth_token=$(cat /run/secrets/nuget_auth_token) && \
17- export VSS_NUGET_EXTERNAL_FEED_ENDPOINTS="{\" endpointCredentials\" : [{\" endpoint\" :\" https://pkgs.dev.azure.com/intelliTect/_packaging/EssentialCSharp/nuget/v3/index.json\" , \" password\" :\" $auth_token\" }]}" ; \
14+ RUN --mount=type=secret,id=nuget_auth_token \
15+ if [ "$ACCESS_TO_NUGET_FEED" = "true" ]; then \
16+ auth_token=$(cat /run/secrets/nuget_auth_token) && \
17+ export VSS_NUGET_EXTERNAL_FEED_ENDPOINTS="{\" endpointCredentials\" : [{\" endpoint\" :\" https://pkgs.dev.azure.com/intelliTect/_packaging/EssentialCSharp/nuget/v3/index.json\" , \" password\" :\" $auth_token\" }]}" ; \
1818 fi && \
1919 dotnet restore "EssentialCSharp.Web.sln" -p:AccessToNugetFeed=$ACCESS_TO_NUGET_FEED && \
2020 dotnet build "EssentialCSharp.Web.sln" -c Release --no-restore -p:AccessToNugetFeed=$ACCESS_TO_NUGET_FEED && \
You can’t perform that action at this time.
0 commit comments