From: AeonLucid Date: Wed, 30 Sep 2020 21:37:20 +0000 (+0200) Subject: Not sure if necessary but lets do it anyways X-Git-Tag: v1.1.0~1^2~16 X-Git-Url: https://git.deb.at/?a=commitdiff_plain;h=5caf72898dda449dbe6891b90612df1a6342b61e;p=rhonda%2Fimpostor.git Not sure if necessary but lets do it anyways --- 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