diff --git a/kargo.yaml b/kargo.yaml index a381ee07a8b..5afb666d0a4 100644 --- a/kargo.yaml +++ b/kargo.yaml @@ -26,21 +26,16 @@ pipeline: tag: v${{package.version}} expected-commit: f28891365762f3183b4d720fde99753ed7471e1d - - uses: go/build - with: - packages: ./cmd/controlplane - output: kargo - ldflags: "-w -s -X github.com/akuity/kargo/internal/version.version=${{package.version}} -X github.com/akuity/kargo/internal/version.gitCommit=$(git rev-parse HEAD)" - - runs: | - export COREPACK_ENABLE_STRICT=0 cd ui pnpm install NODE_ENV='production' pnpm run build - mkdir -p ${{targets.destdir}}/usr/share/kargo/ui - - mv build ${{targets.destdir}}/usr/share/kargo/ui + - uses: go/build + with: + packages: ./cmd/controlplane + output: kargo + ldflags: "-w -s -X github.com/akuity/kargo/internal/version.version=${{package.version}} -X github.com/akuity/kargo/internal/version.gitCommit=$(git rev-parse HEAD)" - uses: strip @@ -55,7 +50,6 @@ subpackages: - runs: | mkdir -p ${{targets.subpkgdir}}/usr/local/bin ln -sf /usr/bin/kargo ${{targets.subpkgdir}}/usr/local/bin/kargo - ln -sf /usr/share/kargo/ui ${{targets.subpkgdir}}/ ln -sf /usr/bin/grpc-health-probe ${{targets.subpkgdir}}/usr/local/bin/grpc_health_probe test: pipeline: