update propellor example to new docker syntax
This commit is contained in:
parent
4a51016cfc
commit
caf72b1b8c
1 changed files with 2 additions and 3 deletions
|
@ -22,10 +22,9 @@ Just install Propellor and add this to its `config.hs`:
|
|||
[[!format haskell """
|
||||
import qualified Propellor.Property.SiteSpecific.GitAnnexBuilder as GitAnnexBuilder
|
||||
|
||||
, host hostname@"your.machine.net" = Just $ props
|
||||
, host "your.machine.net"
|
||||
& Docker.configured
|
||||
& Docker.docked container hostname "amd64-git-annex-builder"
|
||||
, GitAnnexBuilder.standardAutoBuilderContainer dockerImage "amd64" 15 "2h"
|
||||
& Docker.docked (GitAnnexBuilder.standardAutoBuilderContainer dockerImage "amd64" 15 "2h")
|
||||
"""]]
|
||||
|
||||
This will autobuild every hour at :15, and the autobuilt image will be
|
||||
|
|
Loading…
Reference in a new issue