fix: docker server == registry
This commit is contained in:
parent
d1f56fe98d
commit
eff7472739
@ -20,7 +20,7 @@ kubectl config set-context --current --namespace="$K8S_NS"
|
||||
if [ -n "$INPUT_REGISTRY_PASSWORD" ]; then
|
||||
kubectl get secret regcred \
|
||||
|| kubectl create secret docker-registry regcred \
|
||||
--docker-server="${IMAGEAPP%%/*}" \
|
||||
--docker-server="${REGISTRY}" \
|
||||
--docker-username="$INPUT_REGISTRY_USERNAME" \
|
||||
--docker-password="$INPUT_REGISTRY_PASSWORD"
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user