Skip to content

Commit

Permalink
Reset crossplane.yaml after function build
Browse files Browse the repository at this point in the history
Goreleaser is not happy with a dirty repository, so we clean it up again
after the build.
  • Loading branch information
Kidswiss committed Nov 29, 2023
1 parent 14a562d commit 0786141
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions package/package.mk
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ package-function: docker-build
yq e '.spec.image="${GHCR_IMG}"' package/crossplane.yaml.template > package/crossplane.yaml
rm -f package/*.xpkg
go run github.com/crossplane/crossplane/cmd/crank xpkg build -f package --verbose --embed-runtime-image=${GHCR_IMG} -o package/package-function-appcat.xpkg
git checkout package/crossplane.yaml

.PHONY: install-proxy
install-proxy:
Expand Down

0 comments on commit 0786141

Please sign in to comment.