From 5caf72898dda449dbe6891b90612df1a6342b61e Mon Sep 17 00:00:00 2001 From: AeonLucid Date: Wed, 30 Sep 2020 23:37:20 +0200 Subject: [PATCH] Not sure if necessary but lets do it anyways --- .github/workflows/docker.yml | 2 +- Dockerfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 54e67cb..cf1b936 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -67,6 +67,6 @@ jobs: with: context: . file: ./Dockerfile - platforms: linux/amd64,linux/arm/v7 + platforms: linux/amd64,linux/arm/v7,linux/arm64 push: ${{ github.event_name != 'pull_request' }} tags: ${{ steps.prep.outputs.tags }} diff --git a/Dockerfile b/Dockerfile index 656237d..280a1ad 100644 --- a/Dockerfile +++ b/Dockerfile @@ -33,7 +33,7 @@ RUN case "$TARGETARCH" in \ dotnet publish -c release -o /app -r "$NETCORE_PLATFORM" --no-restore ./src/Impostor.Server/Impostor.Server.csproj # Final image. -FROM mcr.microsoft.com/dotnet/core/runtime-deps:3.1 +FROM --platform=$TARGETPLATFORM mcr.microsoft.com/dotnet/core/runtime-deps:3.1 WORKDIR /app COPY --from=build /app ./ EXPOSE 22023/udp -- 2.39.5