Skip to content

Commit 144cfa9

Browse files
test
1 parent 9470f48 commit 144cfa9

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.github/workflows/ecr_sagemaker_publish.yml

+13
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,19 @@
11
name: Sagemaker ECR Publish (RC)
22

3+
# on manual trigger, with inputs: is_release_candidate
34
on:
45
push:
56
branches:
67
- main
78
- 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+
817

918
# Needed for OIDC / assume role
1019
permissions:
@@ -19,13 +28,17 @@ jobs:
1928
AWS_REGION: us-east-1
2029
AWS_CI_ROLE__PROD: ${{ secrets.AWS_CI_ROLE__PROD }}
2130
WORKING_DIR: "./"
31+
IS_RC: ${{ github.event.inputs.is_release_candidate }}
2232
steps:
2333

2434
- name: Check out head
2535
uses: actions/checkout@v3
2636
with:
2737
persist-credentials: false
2838

39+
- name: Echo is RC
40+
run: echo "Is Release Candidate: ${{ env.IS_RC }}"
41+
2942
- name: Set up QEMU
3043
uses: docker/setup-qemu-action@master
3144
with:

0 commit comments

Comments
 (0)