We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 840291a commit 623709aCopy full SHA for 623709a
1 file changed
Dockerfile
@@ -12,7 +12,6 @@ COPY ./src/ ./src/
12
# Mount GitHub Token as a Docker secret, add NuGet source, and build the solution
13
RUN --mount=type=secret,id=github_token \
14
--mount=type=cache,target=/root/.nuget/packages \
15
- dotnet nuget add source --username USERNAME --password $(cat /run/secrets/github_token) --store-password-in-clear-text --name github "https://nuget.pkg.github.com/DFE-Digital/index.json" && \
16
dotnet restore DfE.ExternalApplications.Web.sln && \
17
dotnet build DfE.ExternalApplications.Web.sln --no-restore -c Release && \
18
dotnet publish DfE.ExternalApplications.Web.sln --no-build -o /app
0 commit comments