From da4b2560dc6a517d5446649a3cc69a0f0f8132c7 Mon Sep 17 00:00:00 2001 From: tyranron Date: Thu, 5 Nov 2020 11:44:07 +0100 Subject: [PATCH] Upgrade restic to 0.11.0 version --- Dockerfile | 2 +- Makefile | 2 +- hooks/post_push | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index c9f1703..d56dd95 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,7 +5,7 @@ # https://hub.docker.com/_/golang FROM golang:1.15-alpine AS dist -ARG restic_ver=0.10.0 +ARG restic_ver=0.11.0 # Install build tools. diff --git a/Makefile b/Makefile index 94ebed4..32de057 100644 --- a/Makefile +++ b/Makefile @@ -20,7 +20,7 @@ RESTIC_VER ?= $(strip \ IMAGE_NAME := instrumentisto/restic TAGS ?= $(RESTIC_VER) \ - 0.10 \ + 0.11 \ latest VERSION ?= $(word 1,$(subst $(comma), ,$(TAGS))) diff --git a/hooks/post_push b/hooks/post_push index 9c37581..570d616 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.10.0,0.10,latest}; do +for tag in {0.11.0,0.11,latest}; do docker tag $IMAGE_NAME ${repoName}:${tag} docker push ${repoName}:${tag} done