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