Try fix docker registry
This commit is contained in:
parent
c744d85924
commit
58dca2bf68
|
@ -6,4 +6,4 @@ metadata:
|
|||
data:
|
||||
DOCKER_TAG: "1.0.0"
|
||||
DOCKER_IMAGE_NAME: hello-app
|
||||
DOCKER_NAMESPACE: tekton-demo
|
||||
DOCKER_NAMESPACE: vtimofei
|
||||
|
|
|
@ -34,5 +34,5 @@ spec:
|
|||
- /kaniko/executor
|
||||
args:
|
||||
- --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)
|
||||
|
|
|
@ -37,7 +37,7 @@ spec:
|
|||
params:
|
||||
- name: url
|
||||
# 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
|
||||
- apiVersion: tekton.dev/v1alpha1
|
||||
kind: PipelineRun
|
||||
|
|
Loading…
Reference in New Issue