generated from pmo-actions/healthchecks-ping
Actualiser action.yaml
This commit is contained in:
@@ -29,9 +29,14 @@ runs:
|
||||
GREEN='\033[0;32m'
|
||||
RED='\033[0;31m'
|
||||
NC='\033[0m' # No Color
|
||||
|
||||
if [[ -z $(which ${{ inputs.registry_command }}) ]] ; then
|
||||
echo -e "${RED}❌ Error:${NC}: Cannot locate the ${{ inputs.registry_command }} command"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo "${{ inputs.registry_command }} connection to registry: ${{ inputs.registry_server }}..."
|
||||
|
||||
result=$(${{ inputs.registry_command }} login ${{ inputs.registry_server }} \
|
||||
-u ${{ inputs.registry_user }} \
|
||||
-p ${{ inputs.registry_password }}) \
|
||||
|
||||
Reference in New Issue
Block a user