Two separate CI failures:
- The cross-repo checkout of terraform-provider-dokploy asked the API
for the default branch and got "not found", failing the build. An
explicit ref: main skips the lookup entirely.
- setup-go caches by default, and this runner's cache server is
unreachable from job containers, so restore and save each block until
they time out. The same change cut the upstream provider's build from
15m46s to 2m37s.
PluginDownloadURL moves off github:// to a templated Gitea release URL.
Pulumi interpolates ${VERSION}, then appends
pulumi-resource-dokploy-v<version>-<os>-<arch>.tar.gz -- which is what
the GoReleaser archive template already produces. Schema, bridge
metadata and all four SDKs regenerated to carry it.
Releases publish to this instance's npm, PyPI, NuGet and Go registries
using the GITEA_TOKEN that Gitea injects, so no secrets need
configuring.
The Go SDK keeps its github.com module path, which is exactly why it
goes to Gitea's Go registry: pointing GOPROXY there is what makes that
path resolve at all. Verified locally by serving the module zip from a
file proxy and building a consumer against it -- note zip -D, without
which go get rejects the archive's directory entries.