File tree 1 file changed +13
-0
lines changed
1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change 1
1
name : Sagemaker ECR Publish (RC)
2
2
3
+ # on manual trigger, with inputs: is_release_candidate
3
4
on :
4
5
push :
5
6
branches :
6
7
- main
7
8
- feat/sagemaker-serve
9
+ workflow_dispatch :
10
+ inputs :
11
+ is_release_candidate :
12
+ description : ' Is this a release candidate?'
13
+ required : true
14
+ default : ' true'
15
+
16
+
8
17
9
18
# Needed for OIDC / assume role
10
19
permissions :
@@ -19,13 +28,17 @@ jobs:
19
28
AWS_REGION : us-east-1
20
29
AWS_CI_ROLE__PROD : ${{ secrets.AWS_CI_ROLE__PROD }}
21
30
WORKING_DIR : " ./"
31
+ IS_RC : ${{ github.event.inputs.is_release_candidate }}
22
32
steps :
23
33
24
34
- name : Check out head
25
35
uses : actions/checkout@v3
26
36
with :
27
37
persist-credentials : false
28
38
39
+ - name : Echo is RC
40
+ run : echo "Is Release Candidate: ${{ env.IS_RC }}"
41
+
29
42
- name : Set up QEMU
30
43
uses : docker/setup-qemu-action@master
31
44
with :
You can’t perform that action at this time.
0 commit comments