mirror of
https://github.com/octoleo/restic.git
synced 2024-11-29 08:14:03 +00:00
script/release: Tag versioned docker image
This commit is contained in:
parent
a3d43a92b3
commit
b63de7c798
@ -320,6 +320,7 @@ func updateDocker() {
|
|||||||
run("sh", "-c", cmd)
|
run("sh", "-c", cmd)
|
||||||
run("chmod", "+x", "restic")
|
run("chmod", "+x", "restic")
|
||||||
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:"+opts.Version)
|
||||||
}
|
}
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
|
Loading…
Reference in New Issue
Block a user