Skip to content

Commit

Permalink
Merge pull request #104 from digitalocean/hlee/disable-cgo
Browse files Browse the repository at this point in the history
Explicitly disable CGO when building binary
  • Loading branch information
house-lee authored Sep 21, 2023
2 parents a129e92 + 5b34ca9 commit a51eac7
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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) \
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion internal/config/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

package config

const version = "v1.2.6"
const version = "v1.2.7"

0 comments on commit a51eac7

Please sign in to comment.