github.com/openfga/openfga@v1.5.4-rc1/.goreleaser-nightly.yaml (about) 1 project_name: openfga-nightly 2 3 before: 4 hooks: 5 - make generate-mocks 6 7 builds: 8 - main: ./cmd/openfga 9 binary: openfga 10 env: 11 - CGO_ENABLED=0 12 goos: 13 - linux 14 - windows 15 - darwin 16 ldflags: 17 - "-s -w" 18 - "-X github.com/openfga/openfga/internal/build.Version=nightly" 19 - "-X github.com/openfga/openfga/internal/build.Commit={{.Commit}}" 20 - "-X github.com/openfga/openfga/internal/build.Date={{.Date}}" 21 - "-X github.com/openfga/openfga/internal/build.ProjectName={{.ProjectName}}" 22 23 # Do not make github release 24 release: 25 disable: true 26 27 dockers: 28 - goos: linux 29 goarch: amd64 30 31 dockerfile: Dockerfile.goreleaser 32 33 image_templates: 34 - "openfga/openfga:nightly-amd64" 35 36 use: buildx 37 build_flag_templates: 38 - "--platform=linux/amd64" 39 40 extra_files: 41 - assets 42 43 - goos: linux 44 goarch: arm64 45 46 dockerfile: Dockerfile.goreleaser 47 48 image_templates: 49 - "openfga/openfga:nightly-arm64" 50 51 use: buildx 52 53 build_flag_templates: 54 - "--platform=linux/arm64" 55 56 extra_files: 57 - assets 58 59 docker_manifests: 60 - name_template: openfga/openfga:nightly 61 image_templates: 62 - openfga/openfga:nightly-amd64 63 - openfga/openfga:nightly-arm64 64 65 archives: 66 - replacements: 67 darwin: Darwin 68 linux: Linux 69 windows: Windows 70 386: i386 71 amd64: x86_64 72 files: 73 - assets 74 75 checksum: 76 name_template: "checksums.txt" 77 78 snapshot: 79 name_template: "nightly-next" 80 81 changelog: 82 sort: asc 83 filters: 84 exclude: 85 - "^docs:" 86 - "^test:"