logo
GoReleaser
CGO
Initializing search
    goreleaser/goreleaser
    goreleaser/goreleaser
    • Home
    • Introduction
    • Install
    • Quick Start
    • Environment
      • CGO
      • Semantic Versioning
      • About
      • GitHub Actions
      • CircleCI
      • Cirrus CI
      • Google CloudBuild
      • Codefresh
      • Drone
      • GitLab CI
      • Jenkins
      • Semaphore
      • Travis CI
      • About
      • Archive
      • Artifactory
      • Bintray
      • Blobs
      • Builds
      • Checksum
      • Custom Publishers
      • Docker
      • Docker Manifest
      • Environment Variables
      • Global Hooks
      • Homebrew
      • HTTP Upload
      • Name Templates
      • Milestone
      • NFPM
      • Project Name
      • Release
      • Scoop
      • Signing
      • Snapcraft
      • Snapshots
      • Source Archive
    • Deprecation notices
    • Sponsors
    • Contributing
      • About
      • Blog Posts
      • Semantic Release
      • Release a library
      • Publish to Nexus
      • Cross-compiling Go with CGO
      • Use debconf and templates
    • Links

    CGO

    If you need to cross-compile with CGO enabled, our Docker image is not supported and your config will not look that "clean", unfortunately.

    You can check this cookbook for an example.

    You can also see the discussion about CGO in this issue.

    Previous Environment
    Next Semantic Versioning
    Made with ❤️ by GoReleaser contributors.
    Made with Material for MkDocs