We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1036cbc commit 2f32479Copy full SHA for 2f32479
1 file changed
.github/workflows/docker-image.yml
@@ -70,11 +70,12 @@ jobs:
70
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
71
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
72
aws-region: ${{ env.AWS_REGION }}
73
-
74
- name: Login to Amazon ECR
75
id: login-ecr
76
uses: aws-actions/amazon-ecr-login@v1
77
+ - uses: actions/checkout@v3
+ - name: Add GITHUB_SHA_SHORT env property with commit short sha
78
+ run: echo "GITHUB_SHA_SHORT=`echo ${GITHUB_SHA} | cut -c1-8`" >> $GITHUB_ENV
79
- name: Push image to Amazon ECR
80
id: push-image
81
env:
0 commit comments