Skip to content

Commit

Permalink
update base Docker image & deps & go
Browse files Browse the repository at this point in the history
  • Loading branch information
nxcc committed Aug 26, 2024
1 parent d48f588 commit 1589a66
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:

- uses: actions/setup-go@v5
with:
go-version: ">=1.20.0"
go-version: ">=1.23.0"
check-latest: true

- uses: nolar/setup-k3d-k3s@v1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:

- uses: actions/setup-go@v5
with:
go-version: ">=1.20.0"
go-version: ">=1.23.0"
check-latest: true

- uses: nolar/setup-k3d-k3s@v1
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ the [docs directory](docs).
* `v1.7.6` update base Docker image
* `v1.7.7` update base Docker image & deps
* `v1.7.8` update base Docker image
* `v1.7.9` update base Docker image & deps & go

[restic]: https://github.com/restic/restic
[sidecar]: test/deploy/demo/base/_common/deployment.yaml#L26-L48
Expand Down
8 changes: 4 additions & 4 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
# https://hub.docker.com/_/golang
FROM golang:1.22.5 AS builder
FROM golang:1.23.0 AS builder
WORKDIR /go/src/app
ARG VERSION
COPY . ./
RUN CGO_ENABLED=0 go build -trimpath -tags timetzdata -ldflags="-s -w -X 'main.build=$VERSION'" -o mcs-backup ./cmd/mcs-backup

# https://hub.docker.com/_/alpine
FROM library/alpine:3.20.1
FROM library/alpine:3.20.2

# https://github.com/restic/restic/releases
ARG RESTIC_VERSION=0.16.5
ARG RESTIC_VERSION=0.17.0
# https://github.com/mikefarah/yq/releases/
ARG YQ_VERSION=4.44.2
ARG YQ_VERSION=4.44.3
RUN set -x \
&& apk --no-cache add curl \
&& curl -Lo /usr/bin/restic.bz2 \
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/noris-network/mcs-backup

go 1.22
go 1.23

require (
github.com/1set/cronrange v0.0.0-20220203090001-b1b61d6744d8
Expand Down

0 comments on commit 1589a66

Please sign in to comment.