Skip to content

Commit

Permalink
Attempt to use build args in different format
Browse files Browse the repository at this point in the history
  • Loading branch information
Antonytm committed Feb 16, 2022
1 parent bd1df76 commit 13a40e1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ RUN dotnet restore

# Copy everything else and build
COPY src ./src
RUN dotnet build -c $env:BUILD_CONFIGURATION
RUN Copy ./src/Dianoga/bin/$env:BUILD_CONFIGURATION/$env:DOTNET_VERSION_ARG/Dianoga.* ./src/bin/
RUN Copy ./src/Dianoga/bin/$env:BUILD_CONFIGURATION/$env:DOTNET_VERSION_ARG/System.Threading.Tasks.Dataflow.dll ./src/bin/
RUN dotnet build -c ${{env.BUILD_CONFIGURATION}}
RUN Copy ./src/Dianoga/bin/${{env.BUILD_CONFIGURATION}}/${{env.DOTNET_VERSION_ARG}}/Dianoga.* ./src/bin/
RUN Copy ./src/Dianoga/bin/${{env.BUILD_CONFIGURATION}}/${{env.DOTNET_VERSION_ARG}}/System.Threading.Tasks.Dataflow.dll ./src/bin/

FROM ${BASE_IMAGE}

Expand Down

0 comments on commit 13a40e1

Please sign in to comment.