Skip to content

Commit

Permalink
Merge pull request #1931 from aws/asmarp/fix-oci-worflow
Browse files Browse the repository at this point in the history
chore: fix issue with env var not being passed to powershell script
  • Loading branch information
philasmar authored Jan 16, 2025
2 parents 4449baa + 5e876d3 commit e11b987
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/update-Dockerfiles.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ jobs:
DOCKERFILE_PATH: ${{ env.NET_6_AMD64_Dockerfile }}
NEXT_VERSION: ${{ github.event.inputs.NET_6_NEXT_VERSION }}
run: |
.\LambdaRuntimeDockerfiles\update-dockerfile.ps1 -DockerfilePath "$DOCKERFILE_PATH" -NextVersion "$NEXT_VERSION"
.\LambdaRuntimeDockerfiles\update-dockerfile.ps1 -DockerfilePath "${{ env.DOCKERFILE_PATH }}" -NextVersion "${{ env.NEXT_VERSION }}"
if: ${{ github.event.inputs.NET_6_AMD64 == 'true' }}

- name: Update .NET 6 ARM64
Expand All @@ -82,7 +82,7 @@ jobs:
DOCKERFILE_PATH: ${{ env.NET_6_ARM64_Dockerfile }}
NEXT_VERSION: ${{ github.event.inputs.NET_6_NEXT_VERSION }}
run: |
.\LambdaRuntimeDockerfiles\update-dockerfile.ps1 -DockerfilePath "$DOCKERFILE_PATH" -NextVersion "$NEXT_VERSION"
.\LambdaRuntimeDockerfiles\update-dockerfile.ps1 -DockerfilePath "${{ env.DOCKERFILE_PATH }}" -NextVersion "${{ env.NEXT_VERSION }}"
if: ${{ github.event.inputs.NET_6_ARM64 == 'true' }}

- name: Update .NET 8 AMD64
Expand All @@ -92,7 +92,7 @@ jobs:
DOCKERFILE_PATH: ${{ env.NET_8_AMD64_Dockerfile }}
NEXT_VERSION: ${{ github.event.inputs.NET_8_NEXT_VERSION }}
run: |
.\LambdaRuntimeDockerfiles\update-dockerfile.ps1 -DockerfilePath "$DOCKERFILE_PATH" -NextVersion "$NEXT_VERSION"
.\LambdaRuntimeDockerfiles\update-dockerfile.ps1 -DockerfilePath "${{ env.DOCKERFILE_PATH }}" -NextVersion "${{ env.NEXT_VERSION }}"
if: ${{ github.event.inputs.NET_8_AMD64 == 'true' }}

- name: Update .NET 8 ARM64
Expand All @@ -102,7 +102,7 @@ jobs:
DOCKERFILE_PATH: ${{ env.NET_8_ARM64_Dockerfile }}
NEXT_VERSION: ${{ github.event.inputs.NET_8_NEXT_VERSION }}
run: |
.\LambdaRuntimeDockerfiles\update-dockerfile.ps1 -DockerfilePath "$DOCKERFILE_PATH" -NextVersion "$NEXT_VERSION"
.\LambdaRuntimeDockerfiles\update-dockerfile.ps1 -DockerfilePath "${{ env.DOCKERFILE_PATH }}" -NextVersion "${{ env.NEXT_VERSION }}"
if: ${{ github.event.inputs.NET_8_ARM64 == 'true' }}

- name: Update .NET 9 AMD64
Expand All @@ -112,7 +112,7 @@ jobs:
DOCKERFILE_PATH: ${{ env.NET_9_AMD64_Dockerfile }}
NEXT_VERSION: ${{ github.event.inputs.NET_9_NEXT_VERSION }}
run: |
.\LambdaRuntimeDockerfiles\update-dockerfile.ps1 -DockerfilePath "$DOCKERFILE_PATH" -NextVersion "$NEXT_VERSION"
.\LambdaRuntimeDockerfiles\update-dockerfile.ps1 -DockerfilePath "${{ env.DOCKERFILE_PATH }}" -NextVersion "${{ env.NEXT_VERSION }}"
if: ${{ github.event.inputs.NET_9_AMD64 == 'true' }}

- name: Update .NET 9 ARM64
Expand All @@ -122,7 +122,7 @@ jobs:
DOCKERFILE_PATH: ${{ env.NET_9_ARM64_Dockerfile }}
NEXT_VERSION: ${{ github.event.inputs.NET_9_NEXT_VERSION }}
run: |
.\LambdaRuntimeDockerfiles\update-dockerfile.ps1 -DockerfilePath "$DOCKERFILE_PATH" -NextVersion "$NEXT_VERSION"
.\LambdaRuntimeDockerfiles\update-dockerfile.ps1 -DockerfilePath "${{ env.DOCKERFILE_PATH }}" -NextVersion "${{ env.NEXT_VERSION }}"
if: ${{ github.event.inputs.NET_9_ARM64 == 'true' }}

# Update Dockerfiles if newer version of ASP.NET Core is available
Expand Down Expand Up @@ -166,3 +166,4 @@ jobs:
}}"
github_token: ${{ secrets.GITHUB_TOKEN }}
pr_label: "auto-pr"

0 comments on commit e11b987

Please sign in to comment.