From c712ec3afeea0a94a81c385c8718778f2d0856d1 Mon Sep 17 00:00:00 2001 From: tyranron Date: Mon, 27 Nov 2017 11:21:06 +0200 Subject: [PATCH] Upgrade restic to 0.8.0 version --- Dockerfile | 2 +- Makefile | 4 ++-- hooks/post_push | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 12927b7..52cd54d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,7 +10,7 @@ RUN apk add --update curl # Download restic. RUN curl -fL -o /tmp/restic.tar.gz \ - https://github.com/restic/restic/releases/download/v0.7.3/restic-0.7.3.tar.gz \ + https://github.com/restic/restic/releases/download/v0.8.0/restic-0.8.0.tar.gz \ && tar -xzf /tmp/restic.tar.gz -C /tmp # Build restic. diff --git a/Makefile b/Makefile index b820bc9..b579022 100644 --- a/Makefile +++ b/Makefile @@ -12,8 +12,8 @@ IMAGE_NAME := instrumentisto/restic -VERSION ?= 0.7.3 -TAGS ?= 0.7.3,0.7,latest +VERSION ?= 0.8.0 +TAGS ?= 0.8.0,0.8,latest comma := , diff --git a/hooks/post_push b/hooks/post_push index ceb982d..19c2c4a 100644 --- a/hooks/post_push +++ b/hooks/post_push @@ -9,7 +9,7 @@ tagStart=$(expr index "$IMAGE_NAME" :) repoName=${IMAGE_NAME:0:tagStart-1} # Tag and push image for each additional tag -for tag in {0.7.3,0.7,latest}; do +for tag in {0.8.0,0.8,latest}; do docker tag $IMAGE_NAME ${repoName}:${tag} docker push ${repoName}:${tag} done