diff --git a/.github/workflows/on-push-to-main.yml b/.github/workflows/on-push-to-main.yml index 14584e2..29fdbe8 100644 --- a/.github/workflows/on-push-to-main.yml +++ b/.github/workflows/on-push-to-main.yml @@ -8,7 +8,7 @@ on: branches: - '*' # TODO - master env: - PLATFORMS: linux/arm64 + PLATFORMS: linux/arm64,linux/amd64 jobs: deploy: diff --git a/Dockerfile b/Dockerfile index ea99fdb..11a87ed 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,6 +7,9 @@ ARG ENVIRONMENT_ARG FROM --platform=$BUILDPLATFORM mcr.microsoft.com/dotnet/sdk:8.0-alpine AS Build LABEL maintainer="David Leon " +# Message to show the platform +RUN echo "Building for $TARGETPLATFORM" + # Global args re-mapped for this stage ARG INCLUDE_NPM_ARG ARG PROJECT_NAME_ARG