Skip to content

Commit

Permalink
Upgrade restic to 0.8.3 version
Browse files Browse the repository at this point in the history
  • Loading branch information
tyranron committed Feb 27, 2018
1 parent 283b196 commit aeffedf
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 @@ -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.8.2/restic-0.8.2.tar.gz \
https://github.com/restic/restic/releases/download/v0.8.3/restic-0.8.3.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.8.2
TAGS ?= 0.8.2,0.8,latest
VERSION ?= 0.8.3
TAGS ?= 0.8.3,0.8,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.8.2,0.8,latest}; do
for tag in {0.8.3,0.8,latest}; do
docker tag $IMAGE_NAME ${repoName}:${tag}
docker push ${repoName}:${tag}
done

0 comments on commit aeffedf

Please sign in to comment.