Skip to content

Commit c9b8093

Browse files
Fixing conditional syntax error
1 parent 218efbe commit c9b8093

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

EssentialCSharp.Web/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ COPY . .
1414
RUN if [ "$ACCESS_TO_NUGET_FEED" = "true" ]; then \
1515
--mount=type=secret,id=nuget_auth_token \
1616
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\"}]}" && \
18-
fi; \
17+
export VSS_NUGET_EXTERNAL_FEED_ENDPOINTS="{\"endpointCredentials\": [{\"endpoint\":\"https://pkgs.dev.azure.com/intelliTect/_packaging/EssentialCSharp/nuget/v3/index.json\", \"password\":\"$auth_token\"}]}"; \
18+
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 && \
2121
dotnet publish "EssentialCSharp.Web.sln" -c Release -p:PublishDir=/app/publish -p:UseAppHost=false --no-build

0 commit comments

Comments
 (0)