Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
split builds for cross compile
Maidul Islam33805ad38595
diff --git a/.github/workflows/release_build.yml b/.github/workflows/release_build.ymlindex 695b0ea240..c5fd9034f6 100644--- a/.github/workflows/release_build.yml+++ b/.github/workflows/release_build.yml@@ -13,7 +13,7 @@ permissions:jobs:goreleaser:- runs-on: ubuntu-latest+ runs-on: ubuntu-20.04steps:- uses: actions/checkout@v3with:@@ -24,6 +24,15 @@ jobs:go-version: '>=1.19.3'cache: truecache-dependency-path: cli/go.sum+ - name: libssl1.1 => libssl1.0-dev for OSXCross+ run: |+ echo 'deb http://security.ubuntu.com/ubuntu bionic-security main' | sudo tee -a /etc/apt/sources.list+ sudo apt update && apt-cache policy libssl1.0-dev+ sudo apt-get install libssl1.0-dev+ - name: OSXCross for CGO Support+ run: |+ mkdir ../../osxcross+ git clone https://github.com/plentico/osxcross-target.git ../../osxcross/target- uses: goreleaser/goreleaser-action@v2with:distribution: goreleaserdiff --git a/.goreleaser.yaml b/.goreleaser.yamlindex 9ac38524bc..5e94e0de6d 100644--- a/.goreleaser.yaml+++ b/.goreleaser.yaml@@ -7,12 +7,23 @@# # you may remove this if you don't need go generate# - cd cli && go generate ./...builds:- - env:- - CGO_ENABLED=0+ - id: darwin-buildbinary: infisical- id: infisical+ env:+ - CGO_ENABLED=1+ - CC=/home/runner/work/osxcross/target/bin/o64-clang+ - CXX=/home/runner/work/osxcross/target/bin/o64-clang++goos:- darwin+ ignore:+ - goos: darwin+ goarch: "386"+ dir: ./cli+ - id: all-other-builds+ env:+ - CGO_ENABLED=0+ binary: infisical+ goos:- freebsd- linux- netbsd@@ -27,8 +38,6 @@ builds:- 6- 7ignore:- - goos: darwin- goarch: "386"- goos: windowsgoarch: "386"- goos: freebsd@@ -71,7 +80,7 @@ nfpms:- id: infisicalpackage_name: infisicalbuilds:- - infisical+ - all-other-buildsvendor: Infisical, Inchomepage: https://infisical.com/maintainer: Infisical, Inc