Actualiser action.yaml

This commit is contained in:
2025-04-14 09:07:29 +02:00
parent 0eadc485e4
commit 1e47b53719

View File

@@ -29,9 +29,14 @@ runs:
GREEN='\033[0;32m' GREEN='\033[0;32m'
RED='\033[0;31m' RED='\033[0;31m'
NC='\033[0m' # No Color NC='\033[0m' # No Color
if [[ -z $(which ${{ inputs.registry_command }}) ]] ; then if [[ -z $(which ${{ inputs.registry_command }}) ]] ; then
echo -e "${RED}❌ Error:${NC}: Cannot locate the ${{ inputs.registry_command }} command" 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 }}..." echo "${{ inputs.registry_command }} connection to registry: ${{ inputs.registry_server }}..."
result=$(${{ inputs.registry_command }} login ${{ inputs.registry_server }} \ result=$(${{ inputs.registry_command }} login ${{ inputs.registry_server }} \
-u ${{ inputs.registry_user }} \ -u ${{ inputs.registry_user }} \
-p ${{ inputs.registry_password }}) \ -p ${{ inputs.registry_password }}) \