Skip to content

Commit 951b640

Browse files
committed
Disable CGO and remove docker tasks
1 parent f2b541d commit 951b640

File tree

2 files changed

+2
-10
lines changed

2 files changed

+2
-10
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ jobs:
3030

3131
- name: build
3232
run: make build
33+
env:
34+
CGO_ENABLED: 0
3335

3436
- name: create release
3537
uses: actions/create-release@v1

Makefile

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
GOOS := linux
66
GOARCH := amd64
77
LD_FLAGS := -ldflags "-X main.Version=`git describe --tags` -X main.BuildDate=`date -u +%Y-%m-%d_%H:%M:%S` -X main.GitCommit=`git rev-parse HEAD`"
8-
DOCKER_IMAGE := leocomelli/secrets-init:`git describe --tags | cut -c2-`
98

109
.PHONY: build
1110
build:
@@ -24,15 +23,6 @@ lint:
2423
test:
2524
@go test ./... -v -race
2625

27-
.PHONY: docker-build
28-
docker-build:
29-
@docker build -t $(DOCKER_IMAGE) .
30-
31-
release:
32-
@make -s build docker-build
33-
# docker login
34-
docker push $(DOCKER_IMAGE)
35-
3626
.PHONY: all
3727
all:
3828
@make -s build bin test lint

0 commit comments

Comments
 (0)