Skip to content

Commit 582844f

Browse files
committed
Updated the command in Step 3
1 parent 929a173 commit 582844f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/op-running-a-pipeline.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ $ tkn pipeline start build-and-deploy \
1919
-w name=shared-workspace,volumeClaimTemplateFile=https://raw.githubusercontent.com/openshift/pipelines-tutorial/{pipelines-ver}/01_pipeline/03_persistent_volume_claim.yaml \
2020
-p deployment-name=pipelines-vote-api \
2121
-p git-url=https://github.com/openshift/pipelines-vote-api.git \
22-
-p IMAGE=image-registry.openshift-image-registry.svc:5000/pipelines-tutorial/pipelines-vote-api \
22+
-p IMAGE='image-registry.openshift-image-registry.svc:5000/$(context.pipelineRun.namespace)/pipelines-vote-api' \
2323
--use-param-defaults
2424
----
2525
+
@@ -42,7 +42,7 @@ $ tkn pipeline start build-and-deploy \
4242
-w name=shared-workspace,volumeClaimTemplateFile=https://raw.githubusercontent.com/openshift/pipelines-tutorial/{pipelines-ver}/01_pipeline/03_persistent_volume_claim.yaml \
4343
-p deployment-name=pipelines-vote-ui \
4444
-p git-url=https://github.com/openshift/pipelines-vote-ui.git \
45-
-p IMAGE=image-registry.openshift-image-registry.svc:5000/$(context.pipelineRun.namespace)/pipelines-vote-ui \
45+
-p IMAGE='image-registry.openshift-image-registry.svc:5000/$(context.pipelineRun.namespace)/pipelines-vote-ui' \
4646
--use-param-defaults
4747
----
4848

0 commit comments

Comments
 (0)