diff --git a/.goreleaser.yml b/.goreleaser.yml index 9241fd07..c21b6a75 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -12,8 +12,8 @@ before: - go mod tidy - /bin/bash -c 'if [ -n "$(git --no-pager diff --exit-code go.mod go.sum)" ]; then exit 1; fi' -# gomod: -# proxy: true +gomod: + proxy: true sboms: - artifacts: binary @@ -90,5 +90,5 @@ release: prerelease: auto draft: true # allow for manual edits github: - owner: cpanato + owner: sigstore name: timestamp-authority diff --git a/Makefile b/Makefile index 663d20db..c0c942e6 100644 --- a/Makefile +++ b/Makefile @@ -39,7 +39,7 @@ ifeq ($(DIFF), 1) GIT_TREESTATE = "dirty" endif -KO_PREFIX ?= ghcr.io/cpanato +KO_PREFIX ?= ghcr.io/sigstore export KO_DOCKER_REPO=$(KO_PREFIX) # Binaries @@ -76,7 +76,7 @@ gen: $(GENSRC) ## Generate code from OpenAPI spec timestamp-cli: $(SRCS) ## Build the TSA CLI CGO_ENABLED=0 go build -trimpath -ldflags "$(CLI_LDFLAGS)" -o bin/timestamp-cli ./cmd/timestamp-cli -timestamp-server: $(SRCS) ## Build the TSA server +timestamp-server: $(SRCS) ## Build the TSA server CGO_ENABLED=0 go build -trimpath -ldflags "$(SERVER_LDFLAGS)" -o bin/timestamp-server ./cmd/timestamp-server test: timestamp-cli ## Run tests