From b5604b8b9ffc8136df7edf95b0a87e3e9322d872 Mon Sep 17 00:00:00 2001 From: Nicco Date: Fri, 9 Feb 2024 14:18:24 +0100 Subject: [PATCH] update deps (#353) --- .github/workflows/build.yml | 4 ++-- Dockerfile | 4 ++-- go.mod | 2 +- internal/config.go | 2 +- main.go | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b39c71a..43258ca 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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.20" + go-version: '^1.21' - name: Build run: go run build/build.go - name: Release diff --git a/Dockerfile b/Dockerfile index 55f1a77..c4d9cff 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.20-alpine as builder +FROM golang:1.21-alpine as builder WORKDIR /app COPY go.* . @@ -6,7 +6,7 @@ RUN go mod download COPY . . RUN go build -FROM restic/restic:0.16.0 +FROM restic/restic:0.16.4 RUN apk add --no-cache rclone bash curl COPY --from=builder /app/autorestic /usr/bin/autorestic ENTRYPOINT [] diff --git a/go.mod b/go.mod index 98000f5..7c6bfdc 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/cupcakearmy/autorestic -go 1.20 +go 1.21 require ( github.com/blang/semver/v4 v4.0.0 diff --git a/internal/config.go b/internal/config.go index c223710..46b7956 100644 --- a/internal/config.go +++ b/internal/config.go @@ -17,7 +17,7 @@ import ( "github.com/spf13/viper" ) -const VERSION = "1.7.10" +const VERSION = "1.7.11" type OptionMap map[string][]interface{} type Options map[string]OptionMap diff --git a/main.go b/main.go index 66b47bf..ae644c3 100644 --- a/main.go +++ b/main.go @@ -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,