From 8220602a91cb9f49d854fc40a5aed3bdaae6cea4 Mon Sep 17 00:00:00 2001 From: Stephan Johansen Date: Thu, 14 Nov 2024 22:46:02 +0100 Subject: [PATCH] fix(c): Correct path to docker file and donet proj --- .github/workflows/ciBuild.yaml | 4 ++-- source/SyncGurka/dockerfile | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ciBuild.yaml b/.github/workflows/ciBuild.yaml index d704c2d..88f6347 100644 --- a/.github/workflows/ciBuild.yaml +++ b/.github/workflows/ciBuild.yaml @@ -7,7 +7,7 @@ jobs: ci-build-containers: runs-on: ubuntu-latest env: - package-name: specgurka-cli + package-name: syncgurka-cli permissions: contents: read packages: write @@ -15,7 +15,7 @@ jobs: - name: Checkout code uses: actions/checkout@v3.1.0 # TODO: Run unit tests - - name: Build SpecGurka-image + - name: Build SyncGurka-image uses: docker/build-push-action@v3 with: context: ${{env.working-directory}} diff --git a/source/SyncGurka/dockerfile b/source/SyncGurka/dockerfile index 2c91885..2264075 100644 --- a/source/SyncGurka/dockerfile +++ b/source/SyncGurka/dockerfile @@ -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