Try fix docker registry

This commit is contained in:
Victor Timofei 2021-12-30 17:16:42 +02:00
parent c744d85924
commit 58dca2bf68
Signed by: vtimofei
GPG Key ID: B790DCEBE281403A
3 changed files with 3 additions and 3 deletions

View File

@ -6,4 +6,4 @@ metadata:
data: data:
DOCKER_TAG: "1.0.0" DOCKER_TAG: "1.0.0"
DOCKER_IMAGE_NAME: hello-app DOCKER_IMAGE_NAME: hello-app
DOCKER_NAMESPACE: tekton-demo DOCKER_NAMESPACE: vtimofei

View File

@ -34,5 +34,5 @@ spec:
- /kaniko/executor - /kaniko/executor
args: args:
- --dockerfile=$(params.pathToContext)/$(params.pathToDockerFile) - --dockerfile=$(params.pathToContext)/$(params.pathToDockerFile)
- --destination=$(resources.outputs.image-registry.url)/$(DOCKER_IMAGE_NAME):$(DOCKER_TAG) - --destination=$(resources.outputs.image-registry.url)/$(DOCKER_NAMESPACE)/$(DOCKER_IMAGE_NAME):$(DOCKER_TAG)
- --context=$(params.pathToContext) - --context=$(params.pathToContext)

View File

@ -37,7 +37,7 @@ spec:
params: params:
- name: url - name: url
# Replace <docker_registry_name> with your docker registry name (e.g. my-acr.azurecr.io) # Replace <docker_registry_name> with your docker registry name (e.g. my-acr.azurecr.io)
value: "https://hub.docker.com/u/vtimofei" value: "registry.hub.docker.com"
type: image type: image
- apiVersion: tekton.dev/v1alpha1 - apiVersion: tekton.dev/v1alpha1
kind: PipelineRun kind: PipelineRun