2
2
mirror of https://github.com/octoleo/restic.git synced 2024-11-24 21:57:41 +00:00

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) cmd := fmt.Sprintf("bzcat %s/restic_%s_linux_amd64.bz2 > restic", outputDir, version)
run("sh", "-c", cmd) run("sh", "-c", cmd)
run("chmod", "+x", "restic") run("chmod", "+x", "restic")
run("docker", "pull", "alpine:latest")
run("docker", "build", "--rm", "--tag", "restic/restic:latest", "-f", "docker/Dockerfile", ".") run("docker", "build", "--rm", "--tag", "restic/restic:latest", "-f", "docker/Dockerfile", ".")
run("docker", "tag", "restic/restic:latest", "restic/restic:"+version) run("docker", "tag", "restic/restic:latest", "restic/restic:"+version)
} }