Skip to content

Commit

Permalink
Upgrade restic to 0.11.0 version
Browse files Browse the repository at this point in the history
  • Loading branch information
tyranron committed Nov 5, 2020
1 parent 297c646 commit da4b256
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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)))

Expand Down
2 changes: 1 addition & 1 deletion hooks/post_push
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit da4b256

Please sign in to comment.