init
This commit is contained in:
parent
504e71a8c0
commit
2ef0796023
@ -35,8 +35,6 @@ spec:
|
||||
workspaces:
|
||||
- name: shared
|
||||
description: Source code workspace
|
||||
# - name: docker-dot-credentials
|
||||
# description: Workspace containing config.json (as Secret)
|
||||
|
||||
results:
|
||||
- name: imageUrl
|
||||
@ -54,10 +52,6 @@ spec:
|
||||
#!/bin/sh
|
||||
set -e
|
||||
|
||||
# echo "🔐 Copying docker .dockerconfigjson to /tekton/home/.docker"
|
||||
# mkdir -p /tekton/home/.docker
|
||||
# cp /workspace/docker-dot-credentials/.dockerconfigjson /tekton/home/.docker/config.json
|
||||
|
||||
IMAGE="$(params.imageName):$(params.tag)"
|
||||
echo "📦 Using image: $IMAGE"
|
||||
echo -n "$IMAGE" > /tekton/results/imageUrl
|
||||
@ -69,7 +63,7 @@ spec:
|
||||
- name: HOME
|
||||
value: /workspace/shared/$(params.home)
|
||||
- name: DOCKER_CONFIG
|
||||
value: $HOME/.dockerconfigjson
|
||||
value: $HOME/.docker
|
||||
command:
|
||||
- /kaniko/executor
|
||||
args:
|
||||
|
Loading…
x
Reference in New Issue
Block a user