Skip to content

Commit

Permalink
platforms
Browse files Browse the repository at this point in the history
  • Loading branch information
davidleonm committed Nov 26, 2024
1 parent 1b6e344 commit b73aaeb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/on-push-to-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
branches:
- '*' # TODO - master
env:
PLATFORMS: linux/arm64
PLATFORMS: linux/arm64,linux/amd64

jobs:
deploy:
Expand Down
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ ARG ENVIRONMENT_ARG
FROM --platform=$BUILDPLATFORM mcr.microsoft.com/dotnet/sdk:8.0-alpine AS Build
LABEL maintainer="David Leon <david.leon.m@gmail.com>"

# 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
Expand Down

0 comments on commit b73aaeb

Please sign in to comment.