18
18
description : " .NET 6 Next Version"
19
19
type : string
20
20
required : true
21
- NET_7_AMD64 :
22
- description : " .NET 7 AMD64"
21
+ NET_8_AMD64 :
22
+ description : " .NET 8 AMD64"
23
23
type : boolean
24
24
required : true
25
25
default : " true"
26
- NET_7_ARM64 :
27
- description : " .NET 7 ARM64"
26
+ NET_8_ARM64 :
27
+ description : " .NET 8 ARM64"
28
28
type : boolean
29
29
required : true
30
30
default : " true"
31
- NET_7_NEXT_VERSION :
32
- description : " .NET 7 Next Version"
31
+ NET_8_NEXT_VERSION :
32
+ description : " .NET 8 Next Version"
33
33
type : string
34
34
required : true
35
- NET_8_AMD64 :
36
- description : " .NET 8 AMD64"
35
+ NET_9_AMD64 :
36
+ description : " .NET 9 AMD64"
37
37
type : boolean
38
38
required : true
39
39
default : " true"
40
- NET_8_ARM64 :
41
- description : " .NET 8 ARM64"
40
+ NET_9_ARM64 :
41
+ description : " .NET 9 ARM64"
42
42
type : boolean
43
43
required : true
44
44
default : " true"
45
- NET_8_NEXT_VERSION :
46
- description : " .NET 8 Next Version"
45
+ NET_9_NEXT_VERSION :
46
+ description : " .NET 9 Next Version"
47
47
type : string
48
48
required : true
49
49
@@ -53,10 +53,10 @@ jobs:
53
53
env :
54
54
NET_6_AMD64_Dockerfile : " LambdaRuntimeDockerfiles/Images/net6/amd64/Dockerfile"
55
55
NET_6_ARM64_Dockerfile : " LambdaRuntimeDockerfiles/Images/net6/arm64/Dockerfile"
56
- NET_7_AMD64_Dockerfile : " LambdaRuntimeDockerfiles/Images/net7/amd64/Dockerfile"
57
- NET_7_ARM64_Dockerfile : " LambdaRuntimeDockerfiles/Images/net7/arm64/Dockerfile"
58
56
NET_8_AMD64_Dockerfile : " LambdaRuntimeDockerfiles/Images/net8/amd64/Dockerfile"
59
57
NET_8_ARM64_Dockerfile : " LambdaRuntimeDockerfiles/Images/net8/arm64/Dockerfile"
58
+ NET_9_AMD64_Dockerfile : " LambdaRuntimeDockerfiles/Images/net9/amd64/Dockerfile"
59
+ NET_9_ARM64_Dockerfile : " LambdaRuntimeDockerfiles/Images/net9/arm64/Dockerfile"
60
60
61
61
# Steps represent a sequence of tasks that will be executed as part of the job
62
62
steps :
79
79
.\LambdaRuntimeDockerfiles/update-dockerfile.ps1 -DockerfilePath ${{ env.NET_6_ARM64_Dockerfile }} -NextVersion ${{ github.event.inputs.NET_6_NEXT_VERSION }}
80
80
if : ${{ github.event.inputs.NET_6_ARM64 == 'true' }}
81
81
82
- - name : Update .NET 7 AMD64
83
- id : update-net7-amd64
84
- shell : pwsh
85
- run : |
86
- .\LambdaRuntimeDockerfiles/update-dockerfile.ps1 -DockerfilePath ${{ env.NET_7_AMD64_Dockerfile }} -NextVersion ${{ github.event.inputs.NET_7_NEXT_VERSION }}
87
- if : ${{ github.event.inputs.NET_7_AMD64 == 'true' }}
88
-
89
- - name : Update .NET 7 ARM64
90
- id : update-net7-arm64
91
- shell : pwsh
92
- run : |
93
- .\LambdaRuntimeDockerfiles/update-dockerfile.ps1 -DockerfilePath ${{ env.NET_7_ARM64_Dockerfile }} -NextVersion ${{ github.event.inputs.NET_7_NEXT_VERSION }}
94
- if : ${{ github.event.inputs.NET_7_ARM64 == 'true' }}
95
-
96
82
- name : Update .NET 8 AMD64
97
83
id : update-net8-amd64
98
84
shell : pwsh
@@ -107,6 +93,20 @@ jobs:
107
93
.\LambdaRuntimeDockerfiles/update-dockerfile.ps1 -DockerfilePath ${{ env.NET_8_ARM64_Dockerfile }} -NextVersion ${{ github.event.inputs.NET_8_NEXT_VERSION }}
108
94
if : ${{ github.event.inputs.NET_8_ARM64 == 'true' }}
109
95
96
+ - name : Update .NET 9 AMD64
97
+ id : update-net9-amd64
98
+ shell : pwsh
99
+ run : |
100
+ .\LambdaRuntimeDockerfiles/update-dockerfile.ps1 -DockerfilePath ${{ env.NET_9_AMD64_Dockerfile }} -NextVersion ${{ github.event.inputs.NET_9_NEXT_VERSION }}
101
+ if : ${{ github.event.inputs.NET_9_AMD64 == 'true' }}
102
+
103
+ - name : Update .NET 9 ARM64
104
+ id : update-net9-arm64
105
+ shell : pwsh
106
+ run : |
107
+ .\LambdaRuntimeDockerfiles/update-dockerfile.ps1 -DockerfilePath ${{ env.NET_9_ARM64_Dockerfile }} -NextVersion ${{ github.event.inputs.NET_9_NEXT_VERSION }}
108
+ if : ${{ github.event.inputs.NET_9_ARM64 == 'true' }}
109
+
110
110
# Update Dockerfiles if newer version of ASP.NET Core is available
111
111
- name : Commit and Push
112
112
id : commit-push
@@ -140,10 +140,10 @@ jobs:
140
140
'{0}\n {1}\n {2}\n {3}\n {4}\n {5}',
141
141
join(steps.update-net6-amd64.outputs.MESSAGE, '\n '),
142
142
join(steps.update-net6-arm64.outputs.MESSAGE, '\n '),
143
- join(steps.update-net7-amd64.outputs.MESSAGE, '\n '),
144
- join(steps.update-net7-arm64.outputs.MESSAGE, '\n '),
145
143
join(steps.update-net8-amd64.outputs.MESSAGE, '\n '),
146
- join(steps.update-net8-arm64.outputs.MESSAGE, '\n ')
144
+ join(steps.update-net8-arm64.outputs.MESSAGE, '\n '),
145
+ join(steps.update-net9-amd64.outputs.MESSAGE, '\n '),
146
+ join(steps.update-net9-arm64.outputs.MESSAGE, '\n ')
147
147
)
148
148
}}"
149
149
github_token : ${{ secrets.GITHUB_TOKEN }}
0 commit comments