Skip to content

Commit c3e37a3

Browse files
committed
change
1 parent 6e66b4f commit c3e37a3

File tree

2 files changed

+2
-18
lines changed

2 files changed

+2
-18
lines changed

.github/actions/check-image-exists/action.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ runs:
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 }}

.github/workflows/deploy.yml

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,6 @@ jobs:
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: |
@@ -57,12 +51,6 @@ jobs:
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: |
@@ -89,12 +77,6 @@ jobs:
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: |

0 commit comments

Comments
 (0)