Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mybee
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
vicotor
mybee
Commits
a63f64b1
Unverified
Commit
a63f64b1
authored
Apr 19, 2021
by
Ivan Vandot
Committed by
GitHub
Apr 19, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sign checksums.txt with gpg key (#1581)
parent
95a16dc9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
0 deletions
+18
-0
release.yaml
.github/workflows/release.yaml
+8
-0
.goreleaser.yml
.goreleaser.yml
+10
-0
No files found.
.github/workflows/release.yaml
View file @
a63f64b1
...
...
@@ -35,6 +35,12 @@ jobs:
uses
:
docker/setup-qemu-action@v1
-
name
:
Set up Docker Buildx
uses
:
docker/setup-buildx-action@v1
-
name
:
Import GPG key
run
:
|
echo "$GPG_PRIVATE_KEY" | gpg --import --passphrase "$GPG_PASSPHRASE" --batch --allow-secret-key-import
env
:
GPG_PRIVATE_KEY
:
${{ secrets.GPG_PRIVATE_KEY }}
GPG_PASSPHRASE
:
${{ secrets.GPG_PASSPHRASE }}
-
name
:
Run GoReleaser
uses
:
goreleaser/goreleaser-action@v2
with
:
...
...
@@ -44,3 +50,5 @@ jobs:
GITHUB_TOKEN
:
${{ secrets.GITHUB_TOKEN }}
HOMEBREW_TAP_PAT
:
${{ secrets.HOMEBREW_TAP_PAT }}
SCOOP_PAT
:
${{ secrets.SCOOP_PAT }}
GPG_PASSPHRASE
:
${{ secrets.GPG_PASSPHRASE }}
GPG_FINGERPRINT
:
${{ secrets.GPG_FINGERPRINT }}
.goreleaser.yml
View file @
a63f64b1
...
...
@@ -53,6 +53,16 @@ builds:
snapshot
:
name_template
:
"
{{.Tag}}-snapshot"
signs
:
-
artifacts
:
checksum
args
:
[
"
--pinentry-mode"
,
"
loopback"
,
"
--passphrase"
,
"
{{
.Env.GPG_PASSPHRASE
}}"
,
"
-u"
,
"
{{
.Env.GPG_FINGERPRINT
}}"
,
"
--output"
,
"
${signature}"
,
"
--detach-sign"
,
"
${artifact}"
,
]
archives
:
-
id
:
scoop
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment