script/release: Tag versioned docker image

This commit is contained in:
Alexander Neumann 2018-01-21 21:41:14 +01:00
parent a3d43a92b3
commit b63de7c798
1 changed files with 1 additions and 0 deletions

View File

@ -320,6 +320,7 @@ func updateDocker() {
run("sh", "-c", cmd)
run("chmod", "+x", "restic")
run("docker", "build", "--rm", "--tag", "restic/restic:latest", "-f", "docker/Dockerfile", ".")
run("docker", "tag", "restic/restic:latest", "restic/restic:"+opts.Version)
}
func main() {