Compare commits

2 Commits

Author SHA1 Message Date
0f85f5c5ec Update restic
Some checks failed
continuous-integration/drone Build is failing
2024-03-31 14:30:21 +02:00
097b4108e5 Fix CI 2024-03-31 14:29:49 +02:00
2 changed files with 3 additions and 3 deletions

View File

@@ -16,7 +16,7 @@ steps:
RELEASE_IMAGE_NAME: "docker.io/genunix/restic"
commands:
- |
RESTIC_VERSION=$$(grep RESTIC_VERSION Dockerfile|cut -d = -f 2)
RESTIC_VERSION=$$(grep RESTIC_VERSION= Dockerfile|cut -d = -f 2)
podman login --username "$${REGISTRY_USERNAME}" --password "$${REGISTRY_PASSWORD}" "$${REGISTRY_SERVER}"
echo "== Building $${RELEASE_IMAGE_NAME}:$${DRONE_COMMIT_SHA}"
podman build --platform linux/arm64/v8 --platform linux/amd64 --pull-always --format docker -t $${RELEASE_IMAGE_NAME}:$${DRONE_COMMIT_SHA} .

View File

@@ -1,6 +1,6 @@
FROM golang:1.19-alpine AS builder
FROM golang:1.22-alpine AS builder
ARG RESTIC_VERSION=0.16.0
ARG RESTIC_VERSION=0.16.4
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