Skip to content

Commit

Permalink
Upgrade restic to 0.9.4 version (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
targs08 authored Jan 9, 2019
1 parent 36b3a4a commit 3a36064
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ RUN go get -u -v gopkg.in/ncw/rclone.v1 \

# Download restic.
RUN curl -fL -o /tmp/restic.tar.gz \
https://github.com/restic/restic/releases/download/v0.9.3/restic-0.9.3.tar.gz \
https://github.com/restic/restic/releases/download/v0.9.4/restic-0.9.4.tar.gz \
&& tar -xzf /tmp/restic.tar.gz -C /tmp

# Build restic.
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@


IMAGE_NAME := instrumentisto/restic
VERSION ?= 0.9.3
TAGS ?= 0.9.3,0.9,latest
VERSION ?= 0.9.4
TAGS ?= 0.9.4,0.9,latest


comma := ,
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.9.3,0.9,latest}; do
for tag in {0.9.4,0.9,latest}; do
docker tag $IMAGE_NAME ${repoName}:${tag}
docker push ${repoName}:${tag}
done

0 comments on commit 3a36064

Please sign in to comment.