Compare commits
2 Commits
863bec1d62
...
0f85f5c5ec
| Author | SHA1 | Date | |
|---|---|---|---|
| 0f85f5c5ec | |||
| 097b4108e5 |
@@ -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} .
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user