Skip to content

Commit

Permalink
fix: gh action is closing stdout before sed can write to it (#89)
Browse files Browse the repository at this point in the history
  • Loading branch information
devigned authored May 17, 2020
1 parent 41d6824 commit 13243ea
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,8 @@ docker-push: ## Push the docker image
.PHONY: dist
dist: $(KUSTOMIZE)
mkdir -p dist
$(KUSTOMIZE) build config/default | sed "s_${CONFIG_REGISTRY}_${REGISTRY}/${IMG}_" | > dist/release.yaml
$(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

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

0 comments on commit 13243ea

Please sign in to comment.