From c4626d3804df30cf0878ecfe279da0ec70285b6c Mon Sep 17 00:00:00 2001 From: SealabJaster Date: Mon, 9 Mar 2020 08:35:53 +0000 Subject: [PATCH] Future stuff --- source/aim/deploy/triggers.d | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/source/aim/deploy/triggers.d b/source/aim/deploy/triggers.d index 6f03336..af73ae1 100644 --- a/source/aim/deploy/triggers.d +++ b/source/aim/deploy/triggers.d @@ -146,10 +146,13 @@ final class GithubAimDeployTrigger : IAimDeployTrigger auto matchedRef = (!match.empty) ? match.captures[1] : gitRef; Shell.verboseLogfln("Ref(Regexed): %s", matchedRef); - this._deployConf.edit((scope ref conf) + if(this._deployConf.value.projectType == AimDeployConfig.Type.Docker) { - conf.docker.tagInUse = matchedRef; - }); + this._deployConf.edit((scope ref conf) + { + conf.docker.tagInUse = matchedRef; + }); + } return true; }