]> git.deb.at Git - rhonda/impostor.git/commitdiff
Not sure if necessary but lets do it anyways
authorAeonLucid <aeonlucid@gmail.com>
Wed, 30 Sep 2020 21:37:20 +0000 (23:37 +0200)
committerAeonLucid <aeonlucid@gmail.com>
Wed, 30 Sep 2020 21:37:20 +0000 (23:37 +0200)
.github/workflows/docker.yml
Dockerfile

index 54e67cba91c4cdb6e321f60ae8888aee0fa43433..cf1b936370426de5a3c958034f81101b1b786d17 100644 (file)
@@ -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 }}
index 656237d3293af3d78b559bce390e0de39654fa17..280a1adb58feb7fc9166fb6c6bf09b141080d886 100644 (file)
@@ -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