diff --git a/tasks/docker-registry/task.yaml b/tasks/docker-registry/task.yaml index e972344..dc21202 100644 --- a/tasks/docker-registry/task.yaml +++ b/tasks/docker-registry/task.yaml @@ -75,6 +75,18 @@ spec: } } EOF + cat < /tekton/home/.netrc + machine nexus.unbox-x.net + login richard.bak + password "@Sunny5465" + EOF + + mkdir -p /tekton/home/.config/pypoetry + cat < /tekton/home/.config/pypoetry/auth.toml + [http-basic.unbox-x-group] + username = "richard.bak" + password = "@Sunny5465" + EOF - name: kaniko-build image: gcr.io/kaniko-project/executor:v1.23.2 @@ -91,6 +103,4 @@ spec: - --skip-tls-verify - --verbosity=info - --reproducible - {{- range ( split " " .Params.kanikoArgs ) }} - - {{ . }} - {{- end }} +