fix: docker server == registry
This commit is contained in:
parent
d1f56fe98d
commit
eff7472739
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue