Skip to content

Commit

Permalink
Update restic to v0.9.1 (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
alnikyur authored Jun 11, 2018
1 parent 9e69d70 commit a2020ff
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.0/restic-0.9.0.tar.gz \
https://github.com/restic/restic/releases/download/v0.9.1/restic-0.9.1.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.0
TAGS ?= 0.9.0,0.9,latest
VERSION ?= 0.9.1
TAGS ?= 0.9.1,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.0,0.9,latest}; do
for tag in {0.9.1,0.9,latest}; do
docker tag $IMAGE_NAME ${repoName}:${tag}
docker push ${repoName}:${tag}
done

0 comments on commit a2020ff

Please sign in to comment.