1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-07 00:48:01 +01:00
Files
openshift-docs/modules/deployments-setting-triggers.adoc
2020-08-07 16:11:00 +01:00

18 lines
495 B
Plaintext

// Module included in the following assemblies:
//
// * applications/deployments/managing-deployment-processes.adoc
[id="deployments-setting-triggers_{context}"]
= Setting deployment triggers
.Procedure
. You can set deployment triggers for a DeploymentConfig using the `oc set triggers`
command. For example, to set a `ImageChangeTrigger`, use the following command:
+
[source,terminal]
----
$ oc set triggers dc/<dc_name> \
--from-image=<project>/<image>:<tag> -c <container_name>
----