Skip to content

Commit

Permalink
Corrected hard coded platforms
Browse files Browse the repository at this point in the history
  • Loading branch information
credfeto committed Dec 14, 2024
1 parent ad95900 commit d330f9d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/actions/build/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ runs:
inputs.DOCKER_APP_NAME != '' &&
env.DEPLOY == 'true'
shell: bash
run: cp "${{github.workspace}}/Dockerfile" "${{github.workspace}}/server-dist/linux-arm64"
run: cp "${{github.workspace}}/Dockerfile" "${{github.workspace}}/server-dist/${{inputs.DOTNET_DOCKER_PLATFORM}}"

- name: "Copy docker: healthcheck"
if: |-
Expand All @@ -407,7 +407,7 @@ runs:
inputs.DOCKER_APP_NAME != '' &&
env.DEPLOY == 'true'
shell: bash
run: cp "${{github.workspace}}/healthcheck" "${{github.workspace}}/server-dist/linux-arm64"
run: cp "${{github.workspace}}/healthcheck" "${{github.workspace}}/server-dist/${{inputs.DOTNET_DOCKER_PLATFORM}}"

- name: "Dotnet: Build Docker Container"
if: |-
Expand All @@ -424,7 +424,7 @@ runs:
APP_OWNER: ${{inputs.DOCKER_APP_OWNER}}
APP_NAME: ${{inputs.DOCKER_APP_NAME}}
AWS_CONTAINER_REGISTRY: ${{inputs.AWS_CONTAINER_REGISTRY}}
CONTAINER_SOURCE: ${{github.workspace}}/server-dist/linux-arm64
CONTAINER_SOURCE: ${{github.workspace}}/server-dist/${{inputs.DOTNET_DOCKER_PLATFORM}}
CONTAINER_PLATFORM: ${{inputs.DOTNET_CONTAINER_PLATFORM}}

- name: "Dotnet: SQL Deploy"
Expand Down

0 comments on commit d330f9d

Please sign in to comment.