Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: bump Go to 1.22.6 and alpine to 3.20 #943

Merged
merged 3 commits into from
Aug 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .go-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.22.4
1.22.6
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
## UNRELEASED

IMPROVEMENTS:
* build: Updated to Go 1.22.4 [[GH-916](https://github.com/hashicorp/nomad-autoscaler/pull/916)]
* build: Updated to Go 1.22.6 and alpine to 3.20 [[GH-943](https://github.com/hashicorp/nomad-autoscaler/pull/943)]

## 0.4.4 (June 4, 2024)

Expand Down
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

# devbuild compiles the binary
# -----------------------------------
FROM golang:1.21 AS devbuild
FROM golang:1.22 AS devbuild

# Disable CGO to make sure we build static binaries
ENV CGO_ENABLED=0
Expand All @@ -22,7 +22,7 @@ RUN go build -o nomad-autoscaler .

# dev runs the binary from devbuild
# -----------------------------------
FROM alpine:3.15 AS dev
FROM alpine:3.20 AS dev

COPY --from=devbuild /build/nomad-autoscaler /bin/
COPY ./scripts/docker-entrypoint.sh /
Expand All @@ -35,7 +35,7 @@ CMD ["help"]
# Release images.
# ===================================

FROM alpine:3.15 AS release
FROM alpine:3.20 AS release

ARG PRODUCT_NAME=nomad-autoscaler
ARG PRODUCT_VERSION
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/hashicorp/nomad-autoscaler

go 1.21
go 1.22

require (
github.com/Azure/azure-sdk-for-go v68.0.0+incompatible
Expand Down
2 changes: 1 addition & 1 deletion plugins/test/noop-apm/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/hashicorp/nomad-autoscaler/plugins/test/noop-apm

go 1.21
go 1.22

require (
github.com/hashicorp/go-hclog v1.6.3
Expand Down
2 changes: 1 addition & 1 deletion plugins/test/noop-strategy/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/hashicorp/nomad-autoscaler/plugins/test/noop-strategy

go 1.21
go 1.22

require (
github.com/hashicorp/go-hclog v1.6.3
Expand Down
2 changes: 1 addition & 1 deletion plugins/test/noop-target/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/hashicorp/nomad-autoscaler/plugins/test/noop-target

go 1.21
go 1.22

require (
github.com/hashicorp/go-hclog v1.6.3
Expand Down