18 resources and 5 data sources mapped into the dokploy:index module, with SDKs generated for TypeScript, Python, Go and .NET.
56 lines
1.1 KiB
YAML
56 lines
1.1 KiB
YAML
# Builds the provider plugin for every platform Pulumi supports and publishes
|
|
# the archives to a GitHub release. The archive names must match what
|
|
# `PluginDownloadURL: github://api.github.com/maxvojtkov/pulumi-dokploy`
|
|
# expects, so do not rename them.
|
|
version: 2
|
|
|
|
project_name: pulumi-dokploy
|
|
|
|
before:
|
|
hooks:
|
|
- go -C provider mod download
|
|
|
|
builds:
|
|
- id: pulumi-resource-dokploy
|
|
dir: provider
|
|
main: ./cmd/pulumi-resource-dokploy
|
|
binary: pulumi-resource-dokploy
|
|
env:
|
|
- CGO_ENABLED=0
|
|
flags:
|
|
- -trimpath
|
|
ldflags:
|
|
- -s -w
|
|
- -X github.com/maxvojtkov/pulumi-dokploy/provider/pkg/version.Version={{ .Version }}
|
|
goos:
|
|
- darwin
|
|
- linux
|
|
- windows
|
|
goarch:
|
|
- amd64
|
|
- arm64
|
|
|
|
archives:
|
|
- id: plugin
|
|
formats: [tar.gz]
|
|
name_template: "{{ .Binary }}-v{{ .Version }}-{{ .Os }}-{{ .Arch }}"
|
|
files:
|
|
- none*
|
|
|
|
checksum:
|
|
name_template: "{{ .ProjectName }}_{{ .Version }}_checksums.txt"
|
|
|
|
snapshot:
|
|
version_template: "{{ .Version }}-SNAPSHOT"
|
|
|
|
changelog:
|
|
use: github
|
|
filters:
|
|
exclude:
|
|
- "^docs:"
|
|
- "^chore:"
|
|
- "^test:"
|
|
|
|
release:
|
|
prerelease: auto
|