Skip to content

Commit 6569c3c

Browse files
fix tagging
1 parent 0d65eda commit 6569c3c

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/ecr_sagemaker_publish.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,9 @@ jobs:
3737
with:
3838
persist-credentials: false
3939

40-
- run: |
40+
- name: Set ECR Tag
41+
id: set-ecr-tag
42+
run: |
4143
if [ ${{ env.AWS_ECR_RELEASE_CANDIDATE }} == 'true' ]; then
4244
echo "This is a release candidate."
4345
echo "Setting tag to -rc"
@@ -80,4 +82,4 @@ jobs:
8082
cache-from: type=gha
8183
cache-to: type=gha,mode=max
8284
push: true
83-
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

Comments
 (0)