Skip to content

Commit

Permalink
no message
Browse files Browse the repository at this point in the history
  • Loading branch information
davidleonm committed Nov 26, 2024
1 parent 5215e0c commit 984bb5e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions .github/workflows/on-push-to-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ jobs:
# "INCLUDE_NPM_ARG=true"
# "PROJECT_NAME_ARG=WeatherStationProject.Dashboard.App"
# "ENVIRONMENT_ARG=Production"
# "PLATFORMS_ARG=${{ env.PLATFORMS }}"
# file: ./Dockerfile
# platforms: ${{ env.PLATFORMS }}
# push: true
Expand Down Expand Up @@ -121,6 +122,7 @@ jobs:
# "INCLUDE_NPM_ARG=false"
# "PROJECT_NAME_ARG=WeatherStationProject.Dashboard.AmbientTemperatureService"
# "ENVIRONMENT_ARG=Production"
# "PLATFORMS_ARG=${{ env.PLATFORMS }}"
# file: ./Dockerfile
# platforms: ${{ env.PLATFORMS }}
# push: true
Expand All @@ -136,6 +138,7 @@ jobs:
# "INCLUDE_NPM_ARG=false"
# "PROJECT_NAME_ARG=WeatherStationProject.Dashboard.AuthenticationService"
# "ENVIRONMENT_ARG=Production"
# "PLATFORMS_ARG=${{ env.PLATFORMS }}"
# file: ./Dockerfile
# platforms: ${{ env.PLATFORMS }}
# push: true
Expand All @@ -151,6 +154,7 @@ jobs:
# "INCLUDE_NPM_ARG=false"
# "PROJECT_NAME_ARG=WeatherStationProject.Dashboard.GatewayService"
# "ENVIRONMENT_ARG=Production"
# "PLATFORMS_ARG=${{ env.PLATFORMS }}"
# file: ./Dockerfile
# platforms: ${{ env.PLATFORMS }}
# push: true
Expand All @@ -166,6 +170,7 @@ jobs:
# "INCLUDE_NPM_ARG=false"
# "PROJECT_NAME_ARG=WeatherStationProject.Dashboard.GroundTemperatureService"
# "ENVIRONMENT_ARG=Production"
# "PLATFORMS_ARG=${{ env.PLATFORMS }}"
# file: ./Dockerfile
# platforms: ${{ env.PLATFORMS }}
# push: true
Expand All @@ -181,6 +186,7 @@ jobs:
# "INCLUDE_NPM_ARG=false"
# "PROJECT_NAME_ARG=WeatherStationProject.Dashboard.RainfallService"
# "ENVIRONMENT_ARG=Production"
# "PLATFORMS_ARG=${{ env.PLATFORMS }}"
# file: ./Dockerfile
# platforms: ${{ env.PLATFORMS }}
# push: true
Expand All @@ -196,6 +202,7 @@ jobs:
# "INCLUDE_NPM_ARG=false"
# "PROJECT_NAME_ARG=WeatherStationProject.Dashboard.WindMeasurementsService"
# "ENVIRONMENT_ARG=Production"
# "PLATFORMS_ARG=${{ env.PLATFORMS }}"
# file: ./Dockerfile
# platforms: ${{ env.PLATFORMS }}
# push: true
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ COPY "/Code/src/WeatherStationProject.Dashboard.Data" "/src/WeatherStationProjec
WORKDIR "/src/$PROJECT_NAME_ARG"

# Deploy the app and dependencies into a deployable unit
RUN dotnet publish "./$PROJECT_NAME_ARG.csproj" --configuration Release --output "/app/publish"
RUN dotnet publish "./$PROJECT_NAME_ARG.csproj" --configuration Release --output "/app/publish" --verbosity detailed

# Pull down the image which includes only the ASP.NET core runtime
FROM --platform=$PLATFORMS_ARG mcr.microsoft.com/dotnet/aspnet:8.0-alpine
Expand Down

0 comments on commit 984bb5e

Please sign in to comment.