Skip to content

Commit 1b9ae17

Browse files
authored
Update login condition for Docker action
1 parent 9483ce7 commit 1b9ae17

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ runs:
200200

201201
- name: Login
202202
uses: docker/login-action@v3
203-
if: ${{ inputs.login != '' && inputs.password != '' }}
203+
if: ${{ contains(inputs.registry, '.amazonaws.com') || ( inputs.inputs.login != '' && inputs.password != '' ) }}
204204
with:
205205
registry: ${{ inputs.registry }}
206206
username: ${{ inputs.login }}

0 commit comments

Comments
 (0)