Update to restic 0.16.0

This commit is contained in:
2023-10-12 08:37:59 +02:00
parent 81ca46a94f
commit 41b907a1b1
2 changed files with 2 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
FROM golang:1.19-alpine AS builder FROM golang:1.19-alpine AS builder
ARG RESTIC_VERSION=0.15.1 ARG RESTIC_VERSION=0.16.0
RUN apk add --no-cache git RUN apk add --no-cache git
RUN git clone --depth 1 --branch v${RESTIC_VERSION} https://github.com/restic/restic.git /go/src/github.com/restic/restic RUN git clone --depth 1 --branch v${RESTIC_VERSION} https://github.com/restic/restic.git /go/src/github.com/restic/restic

View File

@@ -21,7 +21,7 @@ ts_start=$(date +%s)
log_info "Initializing restic" log_info "Initializing restic"
ts=$(date +%s) ts=$(date +%s)
restic cat config >/dev/null || { restic cat config --no-lock >/dev/null || {
log_warn "Repository ${RESTIC_REPOSITORY} does not exist, creating"; log_warn "Repository ${RESTIC_REPOSITORY} does not exist, creating";
restic init; restic init;
} }