mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-06 15:27:27 +00:00
Merge pull request #3377 from akhilmhdh/fix/doc-p-access-image
feat: added passphrase
This commit is contained in:
@@ -132,9 +132,10 @@ jobs:
|
|||||||
- name: Install deb-s3
|
- name: Install deb-s3
|
||||||
run: gem install deb-s3
|
run: gem install deb-s3
|
||||||
- name: Configure GPG Key
|
- name: Configure GPG Key
|
||||||
run: echo -n "$GPG_SIGNING_KEY" | base64 --decode | gpg --import
|
run: echo -n "$GPG_SIGNING_KEY" | base64 --decode | gpg --batch --passphrase "$GPG_SIGNING_KEY_PASSPHRASE" --import
|
||||||
env:
|
env:
|
||||||
GPG_SIGNING_KEY: ${{ secrets.GPG_SIGNING_KEY }}
|
GPG_SIGNING_KEY: ${{ secrets.GPG_SIGNING_KEY }}
|
||||||
|
GPG_SIGNING_KEY_PASSPHRASE: ${{ secrets.GPG_SIGNING_KEY_PASSPHRASE }}
|
||||||
- name: Publish to CloudSmith
|
- name: Publish to CloudSmith
|
||||||
run: sh cli/upload_to_cloudsmith.sh
|
run: sh cli/upload_to_cloudsmith.sh
|
||||||
env:
|
env:
|
||||||
|
|||||||
@@ -50,7 +50,7 @@ func init() {
|
|||||||
|
|
||||||
config.INFISICAL_URL = util.AppendAPIEndpoint(config.INFISICAL_URL)
|
config.INFISICAL_URL = util.AppendAPIEndpoint(config.INFISICAL_URL)
|
||||||
|
|
||||||
util.DisplayAptInstallationChangeBanner()
|
util.DisplayAptInstallationChangeBanner(silent)
|
||||||
if !util.IsRunningInDocker() && !silent {
|
if !util.IsRunningInDocker() && !silent {
|
||||||
util.CheckForUpdate()
|
util.CheckForUpdate()
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -53,7 +53,11 @@ func CheckForUpdate() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
func DisplayAptInstallationChangeBanner() {
|
func DisplayAptInstallationChangeBanner(isSilent bool) {
|
||||||
|
if isSilent {
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
if runtime.GOOS == "linux" {
|
if runtime.GOOS == "linux" {
|
||||||
_, err := exec.LookPath("apt-get")
|
_, err := exec.LookPath("apt-get")
|
||||||
isApt := err == nil
|
isApt := err == nil
|
||||||
|
|||||||
Reference in New Issue
Block a user