Skip to content

Commit

Permalink
Fixed paths in release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergey Nesterov committed Apr 13, 2020
1 parent be8b73d commit 351853d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,21 +61,21 @@ jobs:
- name: Build docker image for a job
if: env.RELEASE_JOB == 'true'
run: |
dotnet publish $JOB_PROJECT --configuration Release --output ./docker/job --no-build /p:Version=$VERSION
dotnet publish $JOB_PROJECT --configuration Release --output ../../docker/job --no-build /p:Version=$VERSION
docker build --tag openmavn/$JOB_DOCKER_IMAGE:$VERSION ./docker/job
- name: Build docker image for a service
if: env.RELEASE_SERVICE == 'true'
run: |
dotnet publish $SERVICE_PROJECT --configuration Release --output ./docker/service --no-build /p:Version=$VERSION
dotnet publish $SERVICE_PROJECT --configuration Release --output ../../docker/service --no-build /p:Version=$VERSION
docker build --tag openmavn/$SERVICE_DOCKER_IMAGE:$VERSION ./docker/service
# Pack NuGet packages
- name: Pack client NuGet package
if: env.RELEASE_CLIENT == 'true'
run: dotnet pack $CLIENT_PROJECT --configuration Release --output ./packages --no-build --include-symbols --include-source /p:SymbolPackageFormat=snupkg /p:Version=$VERSION
run: dotnet pack $CLIENT_PROJECT --configuration Release --output ../../packages --no-build --include-symbols --include-source /p:SymbolPackageFormat=snupkg /p:Version=$VERSION
- name: Pack contract NuGet package
if: env.RELEASE_CONTRACT == 'true'
run: dotnet pack $CONTRACT_PROJECT --configuration Release --output ./packages --no-build --include-symbols --include-source /p:SymbolPackageFormat=snupkg /p:Version=$VERSION
run: dotnet pack $CONTRACT_PROJECT --configuration Release --output ../../packages --no-build --include-symbols --include-source /p:SymbolPackageFormat=snupkg /p:Version=$VERSION

# Push Docker Images
- name: Push job docker image
Expand Down

0 comments on commit 351853d

Please sign in to comment.