File tree 1 file changed +25
-3
lines changed
1 file changed +25
-3
lines changed Original file line number Diff line number Diff line change @@ -2,12 +2,34 @@ name: 'ACR: Docker Release Images'
2
2
3
3
on :
4
4
workflow_dispatch :
5
-
5
+
6
+ release :
7
+ types : [prereleased]
6
8
push :
7
9
branches :
8
10
- " dev"
9
-
11
+
12
+ permissions :
13
+ id-token : write
14
+ contents : read
15
+ actions : read
16
+
10
17
jobs :
18
+ call-gh-validate-release :
19
+ if : github.event_name == 'release'
20
+ uses : code-kern-ai/cicd-deployment-scripts/.github/workflows/gh_validate_release.yml@dev
21
+ secrets : inherit
22
+
11
23
call-az-acr-release :
24
+ needs : [call-gh-validate-release]
25
+ if : always() && !failure()
12
26
uses : code-kern-ai/cicd-deployment-scripts/.github/workflows/az_acr_release.yml@dev
13
- secrets : inherit
27
+ secrets : inherit
28
+
29
+ call-gh-release :
30
+ needs : [call-az-acr-release]
31
+ if : github.event_name == 'release' && !failure()
32
+ uses : code-kern-ai/cicd-deployment-scripts/.github/workflows/gh_release.yml@dev
33
+ secrets : inherit
34
+ with :
35
+ deployment_status : " success"
You can’t perform that action at this time.
0 commit comments