Adding an error message when ART_PASSWORD is empty
This is solving issues like bad variables value, bad api scopes, missing SKU and error like this:
ERROR: /usr/bin/docker login failed. Error message: Error: Cannot perform an interactive login from a non TTY device
Moved the credentials-dump output before the docker login (no need to perform a docker login when a dump-credentials is requested)
Adding an error message when ART_PASSWORD is empty This is solving issues like bad variables value, bad api scopes, missing SKU and error like this:
ERROR: /usr/bin/docker login failed. Error message: Error: Cannot perform an interactive login from a non TTY device
Moved the credentials-dump output before the docker login (no need to perform a docker login when a dump-credentials is requested)