Skip to content

Commit 9483ce7

Browse files
authored
Update Docker actions and login condition (#84)
1 parent d73d1cf commit 9483ce7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

action.yml

Lines changed: 2 additions & 2 deletions
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: ${{ contains(inputs.registry, '.amazonaws.com') || ( inputs.login != '' && inputs.password != '' ) }}
203+
if: ${{ inputs.login != '' && inputs.password != '' }}
204204
with:
205205
registry: ${{ inputs.registry }}
206206
username: ${{ inputs.login }}
@@ -209,7 +209,7 @@ runs:
209209
- name: Build and push Docker images
210210
# Do not update to >=v6 untill the issue would be solved
211211
# https://github.com/docker/build-push-action/issues/1167
212-
uses: docker/build-push-action@v6
212+
uses: docker/build-push-action@v5
213213
id: docker-build-push-action
214214
with:
215215
allow: ${{ inputs.allow }}

0 commit comments

Comments
 (0)