Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

ci: add aur release

jon4hza9c73ab04c89
diff --git a/.github/workflows/release_build.yml b/.github/workflows/release_build.yml
index c5fd9034f6..da2a294352 100644
--- a/.github/workflows/release_build.yml
+++ b/.github/workflows/release_build.yml
@@ -41,6 +41,7 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GO_RELEASER_GITHUB_TOKEN }}
FURY_TOKEN: ${{ secrets.FURYPUSHTOKEN }}
+ AUR_KEY: ${{ secrets.AUR_KEY }}
- uses: actions/setup-python@v4
- run: pip install --upgrade cloudsmith-cli
- name: Publish to CloudSmith
diff --git a/.goreleaser.yaml b/.goreleaser.yaml
index 5e94e0de6d..b5703e81f6 100644
--- a/.goreleaser.yaml
+++ b/.goreleaser.yaml
@@ -30,13 +30,13 @@ builds:
- openbsd
- windows
goarch:
- - 386
+ - "386"
- amd64
- arm
- arm64
goarm:
- - 6
- - 7
+ - "6"
+ - "7"
ignore:
- goos: windows
goarch: "386"
@@ -102,6 +102,22 @@ scoop:
homepage: "https://infisical.com"
description: "The official Infisical CLI"
license: Apache-2.0
+aurs:
+ -
+ name: infisical-bin
+ homepage: "https://infisical.com"
+ description: "The official Infisical CLI"
+ maintainers:
+ - Infisical, Inc <[email protected]>
+ license: Apache-2.0
+ private_key: '{{ .Env.AUR_KEY }}'
+ git_url: 'ssh://[email protected]/infisical-bin.git'
+ package: |-
+ # bin
+ install -Dm755 "./infisical" "${pkgdir}/usr/bin/infisical"
+ # license
+ install -Dm644 "./LICENSE" "${pkgdir}/usr/share/licenses/infisical/LICENSE"
+
# dockers:
# - dockerfile: goreleaser.dockerfile
# goos: linux