File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
.github/actions/calculate-docker-image Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -195,11 +195,10 @@ runs:
195
195
196
196
- name : Login to Docker Hub
197
197
shell : bash
198
- # It's ok if this steps fails, it would then be an anonymous user like what we used to have
199
- continue-on-error : true
200
198
run : |
201
199
set -eux
202
- aws secretsmanager get-secret-value --secret-id docker_hub_readonly_token | jq --raw-output '.SecretString' | jq -r .docker_hub_readonly_token | docker login --username pytorchbot --password-stdin
200
+ # It's ok if this steps fails, it would then be an anonymous user like what we used to have
201
+ aws secretsmanager get-secret-value --secret-id docker_hub_readonly_token | jq --raw-output '.SecretString' | jq -r .docker_hub_readonly_token | docker login --username pytorchbot --password-stdin || true
203
202
204
203
- name : Build docker image
205
204
if : ${{ steps.calculate-image.outputs.skip != 'true' && (inputs.always-rebuild || steps.check-image.outputs.rebuild) }}
You can’t perform that action at this time.
0 commit comments