Skip to content

Commit

Permalink
Copy the nuget config also
Browse files Browse the repository at this point in the history
  • Loading branch information
alexeyzimarev committed Jun 16, 2023
1 parent 5e08fa4 commit a96c6f9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
paths:
- 'src/**'
- 'Dockerfile'
branches:
- 'main'
tags:
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ WORKDIR /app

ARG RUNTIME

COPY ./src/Directory.Build.props ./src/*/*.csproj ./src/
COPY ./src/Directory.Build.props ./src/*/*.csproj ./NuGet.config ./src/
RUN for file in $(ls src/*.csproj); do mkdir -p ./${file%.*}/ && mv $file ./${file%.*}/; done
RUN dotnet restore ./src/Eventuous.Connector -nowarn:msb3202,nu1503 -a $TARGETARCH

Expand Down

0 comments on commit a96c6f9

Please sign in to comment.