File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 113113 PYTHON_VERSION : " 3.9"
114114 POETRY_VERSION : " 2.1.4"
115115 POETRY_EXPORT_PLUGIN_VERSION : " 1.9.0"
116+ GS_SCORECARD_VERSION : " 1.0.0"
116117jobs :
117118 validate-custom-version :
118119 runs-on : ubuntu-latest
@@ -832,11 +833,10 @@ jobs:
832833 aws-secret-access-key : ${{ secrets.GSSA_AWS_SECRET_ACCESS_KEY }}
833834 aws-region : us-west-2
834835 - name : Login to Amazon ECR
835- run : |
836- aws ecr get-login-password --region us-west-2 | docker login --username AWS --password-stdin 956110764581.dkr.ecr.us-west-2.amazonaws.com
836+ uses : aws-actions/amazon-ecr-login@v2
837837 - name : Pull GS Scorecard image
838- run : |
839- docker pull 956110764581.dkr.ecr.us-west-2.amazonaws.com/ta-automation/gs-scorecard:1.0.0
838+ run :
839+ docker pull 956110764581.dkr.ecr.us-west-2.amazonaws.com/ta-automation/gs-scorecard:${{ env.GS_SCORECARD_VERSION }}
840840 - name : Run GS Scorecard
841841 env :
842842 GITHUB_TOKEN : ${{ secrets.GH_TOKEN_ADMIN }}
You can’t perform that action at this time.
0 commit comments