#140 Docker version pinning

This commit is contained in:
cupcakearmy 2021-12-06 11:59:58 +01:00
parent e3c378f2a1
commit 0c37af5588
No known key found for this signature in database
GPG Key ID: 3235314B4D31232F

View File

@ -200,7 +200,7 @@ func (b Backend) ExecDocker(l Location, args []string) (string, error) {
for key, value := range env { for key, value := range env {
docker = append(docker, "--env", key+"="+value) docker = append(docker, "--env", key+"="+value)
} }
docker = append(docker, "cupcakearmy/autorestic", "-c", strings.Join(args, " ")) docker = append(docker, "cupcakearmy/autorestic:"+VERSION, "-c", strings.Join(args, " "))
out, err := ExecuteCommand(options, docker...) out, err := ExecuteCommand(options, docker...)
return out, err return out, err
} }