release: Pull latest alpine image

This commit is contained in:
Alexander Neumann 2019-01-06 21:39:37 +01:00
parent 2996c110f1
commit 3b0ad2e368

View file

@ -398,6 +398,7 @@ func updateDocker(outputDir, version string) {
cmd := fmt.Sprintf("bzcat %s/restic_%s_linux_amd64.bz2 > restic", outputDir, version)
run("sh", "-c", cmd)
run("chmod", "+x", "restic")
run("docker", "pull", "alpine:latest")
run("docker", "build", "--rm", "--tag", "restic/restic:latest", "-f", "docker/Dockerfile", ".")
run("docker", "tag", "restic/restic:latest", "restic/restic:"+version)
}