diff --git a/CHANGELOG.md b/CHANGELOG.md index 3cb1c49..67a5af9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,14 @@ ## [Unreleased](https://github.com/digitalocean/droplet-agent/tree/HEAD) + +## [1.2.7](https://github.com/digitalocean/droplet-agent/tree/1.2.7) (2023-09-20) +### Updated +- Explicitly disable CGO when building the agent binary + +### Related PRs +- Explicitly disable CGO when building binary [\#104](https://github.com/digitalocean/droplet-agent/pull/104) + ## [1.2.6](https://github.com/digitalocean/droplet-agent/tree/1.2.6) (2023-09-20) ### Updated - Switched to go 1.21 diff --git a/Makefile b/Makefile index 7d98761..1e63430 100644 --- a/Makefile +++ b/Makefile @@ -34,6 +34,7 @@ go = docker run --platform linux/amd64 --rm -i \ -e "GOOS=$(GOOS)" \ -e "GOARCH=$(GOARCH)" \ -e "GOCACHE=$(CURDIR)/target/.cache/go" \ + -e "CGO_ENABLED=0" \ -v "$(CURDIR):$(CURDIR)" \ -w "$(CURDIR)" \ $(go_docker_linux) \ @@ -43,6 +44,7 @@ go = GOOS=$(GOOS) \ GOARCH=$(GOARCH) \ GO111MODULE=on \ GOFLAGS=-mod=vendor \ + CGO_ENABLED=0 \ GOCACHE=$(CURDIR)/target/.cache/go \ $(shell which go) endif diff --git a/internal/config/version.go b/internal/config/version.go index 6d3e408..2816503 100644 --- a/internal/config/version.go +++ b/internal/config/version.go @@ -2,4 +2,4 @@ package config -const version = "v1.2.6" +const version = "v1.2.7"