Skip to content

Commit

Permalink
Upgrade restic to 0.9.3 version
Browse files Browse the repository at this point in the history
  • Loading branch information
tyranron committed Oct 16, 2018
1 parent 4ebc514 commit 36b3a4a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#

# https://hub.docker.com/_/golang
FROM golang:1.10-alpine AS dist
FROM golang:1.11-alpine AS dist


# Install build tools.
Expand All @@ -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.2/restic-0.9.2.tar.gz \
https://github.com/restic/restic/releases/download/v0.9.3/restic-0.9.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.9.2
TAGS ?= 0.9.2,0.9,latest
VERSION ?= 0.9.3
TAGS ?= 0.9.3,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.2,0.9,latest}; do
for tag in {0.9.3,0.9,latest}; do
docker tag $IMAGE_NAME ${repoName}:${tag}
docker push ${repoName}:${tag}
done

0 comments on commit 36b3a4a

Please sign in to comment.