Skip to content

Commit

Permalink
fix(c): Correct path to docker file and donet proj
Browse files Browse the repository at this point in the history
  • Loading branch information
skjohansen committed Nov 14, 2024
1 parent 92999db commit 8220602
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ciBuild.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@ jobs:
ci-build-containers:
runs-on: ubuntu-latest
env:
package-name: specgurka-cli
package-name: syncgurka-cli
permissions:
contents: read
packages: write
steps:
- name: Checkout code
uses: actions/[email protected]
# TODO: Run unit tests
- name: Build SpecGurka-image
- name: Build SyncGurka-image
uses: docker/build-push-action@v3
with:
context: ${{env.working-directory}}
Expand Down
4 changes: 2 additions & 2 deletions source/SyncGurka/dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ WORKDIR /App
# Copy everything
COPY . ./
# Restore as distinct layers
RUN dotnet restore
RUN dotnet restore SyncGurka.sln
# Build and publish a release
RUN dotnet publish -c Release -o out
RUN dotnet publish SyncGurka.sln -c Release -o out

# Build runtime image
FROM mcr.microsoft.com/dotnet/runtime:7.0-alpine
Expand Down

0 comments on commit 8220602

Please sign in to comment.