Skip to content

Commit

Permalink
fix: change to piping to release yaml (#90)
Browse files Browse the repository at this point in the history
  • Loading branch information
devigned authored May 17, 2020
1 parent 13243ea commit 1789680
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -196,8 +196,7 @@ docker-push: ## Push the docker image
.PHONY: dist
dist: $(KUSTOMIZE)
mkdir -p dist
$(KUSTOMIZE) build config/default > ./dist/release.yaml
sed -i '' "s_${CONFIG_REGISTRY}_${REGISTRY}/${IMG}_" ./dist/release.yaml # ran into issues with GH action closing stdout
$(KUSTOMIZE) build config/default | sed "s_${CONFIG_REGISTRY}_${REGISTRY}/${IMG}_" > dist/release.yaml

.PHONY: release
release: dist docker-build docker-push ## Build, push, generate dist for release

0 comments on commit 1789680

Please sign in to comment.