We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e65b9a4 commit 0b1c7b3Copy full SHA for 0b1c7b3
entrypoint.sh
@@ -33,7 +33,7 @@ fi
33
#拉取镜像
34
echo "pull image: $INPUT_IMAGENAME"
35
registry=$(echo "$INPUT_IMAGENAME" | awk -F'/' '{print $1}')
36
-if [ [ "$registry" =~ "." ] ]
+if [[ "$registry" =~ "." ]]
37
then
38
base64Registry=$(echo "{\"serveraddress\":\"$registry\"}" | base64)
39
curl --location --request POST ''${INPUT_SERVERURL}'/api/endpoints/'$INPUT_ENDPOINTID'/docker/images/create?fromImage='$INPUT_IMAGENAME'' \
0 commit comments