Skip to content

Commit

Permalink
fix(publish): switch from linux-musl to standard linux runtime
Browse files Browse the repository at this point in the history
- Change runtime from linux-musl-x64 to linux-x64
- Fix apphost missing error
  • Loading branch information
GenjiruSUchiwa committed Nov 24, 2024
1 parent bae8970 commit 6cd3bee
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ env:
APP_NAME: Place.API
SOLUTION: Place.sln
API_PROJECT: src/Place.API/Place.API.csproj
RUNTIME: linux-musl-x64
RUNTIME: linux-x64

jobs:
publish:
Expand Down
2 changes: 1 addition & 1 deletion Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<PropertyGroup>
<TargetFramework>.net9.0</TargetFramework>
<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
<RuntimeIdentifiers>linux-musl-x64;linux-musl-arm64;</RuntimeIdentifiers>
<RuntimeIdentifiers>linux-musl-x64;linux-musl-arm64;linux-x64;linux-arm64</RuntimeIdentifiers>
<StaticWebAssetsEnabled>False</StaticWebAssetsEnabled>
<ImplicitUsings>disable</ImplicitUsings>
<Nullable>enable</Nullable>
Expand Down
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@ ifeq ($(OS),Darwin)
endif
else
ifeq ($(ARCH),x86_64)
RUNTIME := linux-x64
RUNTIME := linux-x64 # Changé de linux-musl-x64 à linux-x64
DOCKER_ARCH := x64
else ifeq ($(ARCH),aarch64)
RUNTIME := linux-arm64
RUNTIME := linux-arm64 # Changé de linux-musl-arm64 à linux-arm64
DOCKER_ARCH := arm64
else
RUNTIME := linux-musl-x64
RUNTIME := linux-x64 # Changé de linux-musl-x64 à linux-x64
DOCKER_ARCH := x64
endif
endif
Expand Down

0 comments on commit 6cd3bee

Please sign in to comment.