mirror of
https://github.com/cupcakearmy/autorestic.git
synced 2024-12-23 08:46:25 +00:00
Compare commits
3 Commits
fc2756124e
...
1eb6838b33
Author | SHA1 | Date | |
---|---|---|---|
|
1eb6838b33 | ||
|
530b1b646c | ||
|
cbe506b28a |
@ -6,7 +6,7 @@ RUN go mod download
|
|||||||
COPY . .
|
COPY . .
|
||||||
RUN go build
|
RUN go build
|
||||||
|
|
||||||
FROM restic/restic:0.15.1
|
FROM restic/restic:0.16.0
|
||||||
RUN apk add --no-cache rclone bash
|
RUN apk add --no-cache rclone bash
|
||||||
COPY --from=builder /app/autorestic /usr/bin/autorestic
|
COPY --from=builder /app/autorestic /usr/bin/autorestic
|
||||||
ENTRYPOINT []
|
ENTRYPOINT []
|
||||||
|
@ -143,6 +143,7 @@ func (b Backend) Exec(args []string) error {
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
options := ExecuteOptions{Envs: env}
|
options := ExecuteOptions{Envs: env}
|
||||||
|
args = append(args, combineBackendOptions("exec", b)...)
|
||||||
_, out, err := ExecuteResticCommand(options, args...)
|
_, out, err := ExecuteResticCommand(options, args...)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
colors.Error.Println(out)
|
colors.Error.Println(out)
|
||||||
|
Loading…
Reference in New Issue
Block a user