Skip to content

Commit

Permalink
Fix coreapi-main-docker
Browse files Browse the repository at this point in the history
  • Loading branch information
lamkhai committed Jun 16, 2024
1 parent c78ba1c commit bf336a0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/coreapi-main-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
name: Build and push
uses: docker/build-push-action@v5
with:
context: ./CoreAPI/CoreAPI/Dockerfile
context: ./CoreAPI/CoreAPI
platforms: linux/amd64,linux/arm64
push: true
target: final
Expand Down
2 changes: 1 addition & 1 deletion CoreAPI/CoreAPI/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ USER app
EXPOSE 8080
EXPOSE 8081

FROM --platform=$BUILDPLATFORM mcr.microsoft.com/dotnet/sdk:8.0 AS build
FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build
ARG BUILD_CONFIGURATION=Release
WORKDIR /src
COPY ["CoreAPI.csproj", "."]
Expand Down

0 comments on commit bf336a0

Please sign in to comment.