We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0d65eda commit 6569c3cCopy full SHA for 6569c3c
.github/workflows/ecr_sagemaker_publish.yml
@@ -37,7 +37,9 @@ jobs:
37
with:
38
persist-credentials: false
39
40
- - run: |
+ - name: Set ECR Tag
41
+ id: set-ecr-tag
42
+ run: |
43
if [ ${{ env.AWS_ECR_RELEASE_CANDIDATE }} == 'true' ]; then
44
echo "This is a release candidate."
45
echo "Setting tag to -rc"
@@ -80,4 +82,4 @@ jobs:
80
82
cache-from: type=gha
81
83
cache-to: type=gha,mode=max
84
push: true
- tags: 064852979926.dkr.ecr.us-east-1.amazonaws.com/gr-sagemaker-validator-images-prod:${{ env.ECR_TAG }}
85
+ tags: 064852979926.dkr.ecr.us-east-1.amazonaws.com/gr-sagemaker-validator-images-prod:${{ steps.set-ecr-tag.outputs.ECR_TAG }}
0 commit comments