Compare commits

..

1 Commits

Author SHA1 Message Date
Pete
1a5d8389d7
Merge a340355b74 into ced20801c1 2024-01-12 08:31:26 +10:00
5 changed files with 7 additions and 7 deletions

View File

@ -3,7 +3,7 @@ name: Main
on:
push:
tags:
- 'v*.*.*'
- "v*.*.*"
jobs:
docker:
@ -40,7 +40,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: '^1.21'
go-version: "^1.20"
- name: Build
run: go run build/build.go
- name: Release

View File

@ -1,4 +1,4 @@
FROM golang:1.21-alpine as builder
FROM golang:1.20-alpine as builder
WORKDIR /app
COPY go.* .
@ -6,7 +6,7 @@ RUN go mod download
COPY . .
RUN go build
FROM restic/restic:0.16.4
FROM restic/restic:0.16.0
RUN apk add --no-cache rclone bash curl
COPY --from=builder /app/autorestic /usr/bin/autorestic
ENTRYPOINT []

2
go.mod
View File

@ -1,6 +1,6 @@
module github.com/cupcakearmy/autorestic
go 1.21
go 1.20
require (
github.com/blang/semver/v4 v4.0.0

View File

@ -17,7 +17,7 @@ import (
"github.com/spf13/viper"
)
const VERSION = "1.7.11"
const VERSION = "1.7.10"
type OptionMap map[string][]interface{}
type Options map[string]OptionMap

View File

@ -5,7 +5,7 @@ Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,