From 7aa5eef7899daff4bc0f05422ae902577d32d042 Mon Sep 17 00:00:00 2001 From: Remi Rampin Date: Wed, 13 Nov 2024 13:05:02 -0500 Subject: [PATCH] Update Restic to 0.17.3 --- restic | 8 ++++---- restic-psql | 8 ++++---- restic-server | 8 ++++---- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/restic b/restic index 585c23b..9de96a9 100644 --- a/restic +++ b/restic @@ -1,4 +1,4 @@ -# docker buildx build --pull - --platform linux/amd64,linux/arm64 --push --tag quay.io/remram44/restic:0.17.1 < restic +# docker buildx build --pull - --platform linux/amd64,linux/arm64 --push --tag quay.io/remram44/restic:0.17.3 < restic FROM ubuntu:22.04 @@ -7,11 +7,11 @@ RUN apt-get update -yy && \ apt-get clean && \ rm -rf /var/lib/apt/lists/* -ARG RESTIC_VERSION=0.17.1 +ARG RESTIC_VERSION=0.17.3 ARG TARGETPLATFORM -RUN if [ ${TARGETPLATFORM} = "linux/amd64" ]; then SUFFIX=linux_amd64; HASH=bdfaf16fe933136e3057e64e28624f2e0451dbd47e23badb2d37dbb60fdb6a70; \ - elif [ ${TARGETPLATFORM} = "linux/arm64" ]; then SUFFIX=linux_arm64; HASH=aa9d86ac5f261f6a8295d5503bb27761ba7fe1fc1cf26fa52e7ab249b9a04716; \ +RUN if [ ${TARGETPLATFORM} = "linux/amd64" ]; then SUFFIX=linux_amd64; HASH=5097faeda6aa13167aae6e36efdba636637f8741fed89bbf015678334632d4d3; \ + elif [ ${TARGETPLATFORM} = "linux/arm64" ]; then SUFFIX=linux_arm64; HASH=db27b803534d301cef30577468cf61cb2e242165b8cd6d8cd6efd7001be2e557; \ else echo "no URL for $(TARGETPLATFORM)"; exit 1; fi && \ curl -Lo /tmp/restic.bz2 https://github.com/restic/restic/releases/download/v${RESTIC_VERSION}/restic_${RESTIC_VERSION}_${SUFFIX}.bz2 && \ printf "${HASH} /tmp/restic.bz2\\n" | sha256sum -c && \ diff --git a/restic-psql b/restic-psql index 8a11ce2..3bab700 100644 --- a/restic-psql +++ b/restic-psql @@ -1,4 +1,4 @@ -# docker buildx build --pull - --platform linux/amd64,linux/arm64 --push --tag quay.io/remram44/restic:0.17.1-psql17 < restic-psql +# docker buildx build --pull - --platform linux/amd64,linux/arm64 --push --tag quay.io/remram44/restic:0.17.3-psql17 < restic-psql FROM postgres:17 @@ -7,11 +7,11 @@ RUN apt-get update -yy && \ apt-get clean && \ rm -rf /var/lib/apt/lists/* -ARG RESTIC_VERSION=0.17.1 +ARG RESTIC_VERSION=0.17.3 ARG TARGETPLATFORM -RUN if [ ${TARGETPLATFORM} = "linux/amd64" ]; then SUFFIX=linux_amd64; HASH=bdfaf16fe933136e3057e64e28624f2e0451dbd47e23badb2d37dbb60fdb6a70; \ - elif [ ${TARGETPLATFORM} = "linux/arm64" ]; then SUFFIX=linux_arm64; HASH=aa9d86ac5f261f6a8295d5503bb27761ba7fe1fc1cf26fa52e7ab249b9a04716; \ +RUN if [ ${TARGETPLATFORM} = "linux/amd64" ]; then SUFFIX=linux_amd64; HASH=5097faeda6aa13167aae6e36efdba636637f8741fed89bbf015678334632d4d3; \ + elif [ ${TARGETPLATFORM} = "linux/arm64" ]; then SUFFIX=linux_arm64; HASH=db27b803534d301cef30577468cf61cb2e242165b8cd6d8cd6efd7001be2e557; \ else echo "no URL for $(TARGETPLATFORM)"; exit 1; fi && \ curl -Lo /tmp/restic.bz2 https://github.com/restic/restic/releases/download/v${RESTIC_VERSION}/restic_${RESTIC_VERSION}_${SUFFIX}.bz2 && \ printf "${HASH} /tmp/restic.bz2\\n" | sha256sum -c && \ diff --git a/restic-server b/restic-server index e0d739b..47a8de7 100644 --- a/restic-server +++ b/restic-server @@ -1,12 +1,12 @@ -# docker buildx build --pull - --platform linux/amd64,linux/arm64 --push --tag quay.io/remram44/restic-server:0.13.0-restic0.17.1 < restic-server +# docker buildx build --pull - --platform linux/amd64,linux/arm64 --push --tag quay.io/remram44/restic-server:0.13.0-restic0.17.3 < restic-server FROM python:3.12 AS client -ARG RESTIC_VERSION=0.17.1 +ARG RESTIC_VERSION=0.17.3 ARG TARGETPLATFORM -RUN if [ ${TARGETPLATFORM} = "linux/amd64" ]; then SUFFIX=linux_amd64; HASH=bdfaf16fe933136e3057e64e28624f2e0451dbd47e23badb2d37dbb60fdb6a70; \ - elif [ ${TARGETPLATFORM} = "linux/arm64" ]; then SUFFIX=linux_arm64; HASH=aa9d86ac5f261f6a8295d5503bb27761ba7fe1fc1cf26fa52e7ab249b9a04716; \ +RUN if [ ${TARGETPLATFORM} = "linux/amd64" ]; then SUFFIX=linux_amd64; HASH=5097faeda6aa13167aae6e36efdba636637f8741fed89bbf015678334632d4d3; \ + elif [ ${TARGETPLATFORM} = "linux/arm64" ]; then SUFFIX=linux_arm64; HASH=db27b803534d301cef30577468cf61cb2e242165b8cd6d8cd6efd7001be2e557; \ else echo "no URL for $(TARGETPLATFORM)"; exit 1; fi && \ curl -Lo /tmp/restic.bz2 https://github.com/restic/restic/releases/download/v${RESTIC_VERSION}/restic_${RESTIC_VERSION}_${SUFFIX}.bz2 && \ printf "${HASH} /tmp/restic.bz2\\n" | sha256sum -c && \