mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-09-22 13:39:35 +00:00
remove furry.io and add cloud smith
This commit is contained in:
13
.github/workflows/release_build.yml
vendored
13
.github/workflows/release_build.yml
vendored
@@ -24,17 +24,18 @@ jobs:
|
|||||||
go-version: '>=1.19.3'
|
go-version: '>=1.19.3'
|
||||||
cache: true
|
cache: true
|
||||||
cache-dependency-path: cli/go.sum
|
cache-dependency-path: cli/go.sum
|
||||||
# More assembly might be required: Docker logins, GPG, etc. It all depends
|
|
||||||
# on your needs.
|
|
||||||
- uses: goreleaser/goreleaser-action@v2
|
- uses: goreleaser/goreleaser-action@v2
|
||||||
with:
|
with:
|
||||||
# either 'goreleaser' (default) or 'goreleaser-pro':
|
|
||||||
distribution: goreleaser
|
distribution: goreleaser
|
||||||
version: latest
|
version: latest
|
||||||
args: release --rm-dist
|
args: release --rm-dist
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GO_RELEASER_GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GO_RELEASER_GITHUB_TOKEN }}
|
||||||
FURY_TOKEN: ${{ secrets.FURYPUSHTOKEN }}
|
FURY_TOKEN: ${{ secrets.FURYPUSHTOKEN }}
|
||||||
# Your GoReleaser Pro key, if you are using the 'goreleaser-pro'
|
- uses: actions/setup-python@v4
|
||||||
# distribution:
|
- run: pip install --upgrade cloudsmith-cli
|
||||||
# GORELEASER_KEY: ${{ secrets.GORELEASER_KEY }}
|
- name: Publish to CloudSmith
|
||||||
|
run: sh cli/upload_to_cloudfront.sh
|
||||||
|
env:
|
||||||
|
CLOUDSMITH_API_KEY: ${{ secrets.CLOUDSMITH_API_KEY }}
|
||||||
|
|
||||||
|
|||||||
@@ -10,19 +10,29 @@ builds:
|
|||||||
- env:
|
- env:
|
||||||
- CGO_ENABLED=0
|
- CGO_ENABLED=0
|
||||||
binary: infisical
|
binary: infisical
|
||||||
goos:
|
|
||||||
- windows
|
|
||||||
- darwin
|
|
||||||
- linux
|
|
||||||
id: infisical
|
id: infisical
|
||||||
|
goos:
|
||||||
|
- darwin
|
||||||
|
- freebsd
|
||||||
|
- linux
|
||||||
|
- netbsd
|
||||||
|
- openbsd
|
||||||
|
- windows
|
||||||
goarch:
|
goarch:
|
||||||
- arm
|
- 386
|
||||||
- amd64
|
- amd64
|
||||||
|
- arm
|
||||||
- arm64
|
- arm64
|
||||||
goarm:
|
goarm:
|
||||||
- 5
|
|
||||||
- 6
|
- 6
|
||||||
- 7
|
- 7
|
||||||
|
ignore:
|
||||||
|
- goos: darwin
|
||||||
|
goarch: "386"
|
||||||
|
- goos: windows
|
||||||
|
goarch: "386"
|
||||||
|
- goos: freebsd
|
||||||
|
goarch: "386"
|
||||||
dir: ./cli
|
dir: ./cli
|
||||||
|
|
||||||
release:
|
release:
|
||||||
@@ -39,12 +49,6 @@ changelog:
|
|||||||
exclude:
|
exclude:
|
||||||
- '^docs:'
|
- '^docs:'
|
||||||
- '^test:'
|
- '^test:'
|
||||||
publishers:
|
|
||||||
- name: fury.io
|
|
||||||
ids:
|
|
||||||
- infisical
|
|
||||||
dir: "{{ dir .ArtifactPath }}"
|
|
||||||
cmd: curl -F package=@{{ .ArtifactName }} https://{{ .Env.FURY_TOKEN }}@push.fury.io/infisical/
|
|
||||||
|
|
||||||
# publishers:
|
# publishers:
|
||||||
# - name: fury.io
|
# - name: fury.io
|
||||||
@@ -65,7 +69,6 @@ brews:
|
|||||||
description: "The official Infisical CLI"
|
description: "The official Infisical CLI"
|
||||||
nfpms:
|
nfpms:
|
||||||
- id: infisical
|
- id: infisical
|
||||||
file_name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
|
|
||||||
package_name: infisical
|
package_name: infisical
|
||||||
builds:
|
builds:
|
||||||
- infisical
|
- infisical
|
||||||
|
|||||||
Reference in New Issue
Block a user