Skip to content

Commit

Permalink
fixup! Replace build arguments with docker/compose secrets
Browse files Browse the repository at this point in the history
  • Loading branch information
spikeheap committed Oct 1, 2024
1 parent 3d9e1d4 commit 5fee845
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Hackney.Core.Tests/Hackney.Core.Tests.Middleware/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ COPY /nuget.config /root/.nuget/NuGet/NuGet.Config
# - https://docs.docker.com/compose/how-tos/use-secrets/
RUN --mount=type=secret,id=LBHPACKAGESTOKEN \
export LBHPACKAGESTOKEN=$(cat /run/secrets/LBHPACKAGESTOKEN) && \
dotnet restore ./Hackney.Core/Hackney.Core.Middleware/Hackney.Core.Middleware.csproj) && \
dotnet restore ./Hackney.Core.Tests/Hackney.Core.Tests.Middleware/Hackney.Core.Tests.Middleware.csproj) && \
dotnet restore ./Hackney.Core/Hackney.Core.Middleware/Hackney.Core.Middleware.csproj && \
dotnet restore ./Hackney.Core.Tests/Hackney.Core.Tests.Middleware/Hackney.Core.Tests.Middleware.csproj && \
dotnet restore ./Hackney.Core/Hackney.Core.Testing/Hackney.Core.Testing.Shared/Hackney.Core.Testing.Shared.csproj

# Copy everything else and build
Expand Down

0 comments on commit 5fee845

Please sign in to comment.