File tree Expand file tree Collapse file tree 2 files changed +2
-18
lines changed
actions/check-image-exists Expand file tree Collapse file tree 2 files changed +2
-18
lines changed Original file line number Diff line number Diff line change 3636 image_exists = '1' if response.status_code == 200 else '0'
3737 with open(os.environ['GITHUB_OUTPUT'], 'a') as fh:
3838 print(f'image_exists={image_exists}', file=fh)
39+
40+ print('Image exists' if image_exists else 'Image not found')
3941 shell : python
4042 env :
4143 SERVIC : ${{ inputs.service }}
Original file line number Diff line number Diff line change 2525 with :
2626 ref : ${{ github.ref }}
2727 fetch-depth : 0
28- - name : Configure AWS credentials
29- uses : aws-actions/configure-aws-credentials@v4
30- with :
31- aws-access-key-id : ${{ secrets.aws_access_key_id }}
32- aws-secret-access-key : ${{ secrets.aws_secret_access_key }}
33- aws-region : eu-central-1
3428 - name : Get service githash
3529 id : git
3630 run : |
5751 with :
5852 ref : ${{ github.ref }}
5953 fetch-depth : 0
60- - name : Configure AWS credentials
61- uses : aws-actions/configure-aws-credentials@v4
62- with :
63- aws-access-key-id : ${{ secrets.aws_access_key_id }}
64- aws-secret-access-key : ${{ secrets.aws_secret_access_key }}
65- aws-region : eu-central-1
6654 - name : Get service githash
6755 id : git
6856 run : |
8977 with :
9078 ref : ${{ github.ref }}
9179 fetch-depth : 0
92- - name : Configure AWS credentials
93- uses : aws-actions/configure-aws-credentials@v4
94- with :
95- aws-access-key-id : ${{ secrets.aws_access_key_id }}
96- aws-secret-access-key : ${{ secrets.aws_secret_access_key }}
97- aws-region : eu-central-1
9880 - name : Get service githash
9981 id : git
10082 run : |
You can’t perform that action at this time.
0 commit comments