Skip to content

Commit

Permalink
Remove GHCR references from Makefile
Browse files Browse the repository at this point in the history
We temporarily disabled publishing Docker image to GHCR due to auth problems with goreleaser-cross
  • Loading branch information
danielelisi committed Jul 14, 2022
1 parent 121c24c commit a55b259
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ signatory:
signatory-cli:
CGO_ENABLED=1 go build -ldflags "-X $(COLLECTOR_PKG).GitRevision=$(GIT_REVISION) -X $(COLLECTOR_PKG).GitBranch=$(GIT_BRANCH)" ./cmd/signatory-cli

container:
docker build -t ghcr.io/ecadlabs/signatory:$(CONTAINER_TAG) .

.PHONY: container
container: signatory signatory-cli
docker build -t ecadlabs/signatory:$(CONTAINER_TAG) .

clean:
rm signatory signatory-cli
Expand All @@ -32,7 +32,9 @@ release-dry-run:
-v `pwd`:/go/src/$(PACKAGE_NAME) \
-w /go/src/$(PACKAGE_NAME) \
goreleaser/goreleaser-cross:${GOLANG_CROSS_VERSION} \
release --rm-dist --snapshot
release \
--rm-dist \
--snapshot

.PHONY: release
release:
Expand All @@ -49,4 +51,6 @@ release:
-v `pwd`:/go/src/$(PACKAGE_NAME) \
-w /go/src/$(PACKAGE_NAME) \
goreleaser/goreleaser-cross:${GOLANG_CROSS_VERSION} \
release --rm-dist --skip-validate
release \
--rm-dist \
--skip-validate

0 comments on commit a55b259

Please sign in to comment.