Try fix docker registry
This commit is contained in:
parent
c744d85924
commit
58dca2bf68
|
@ -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
|
||||||
|
|
|
@ -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)
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue