Skip to content
This repository has been archived by the owner on Oct 23, 2020. It is now read-only.

Commit

Permalink
Future stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
BradleyChatha committed Mar 9, 2020
1 parent 9efbb0f commit c4626d3
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions source/aim/deploy/triggers.d
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit c4626d3

Please sign in to comment.