Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
new-api
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Unverified
Commit
8bc4bf1d
authored
Jul 07, 2026
by
CaIon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(docker): add cosign for signing manifests and update permissions
parent
3fbad6a7
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
.github/workflows/docker-build.yml
+11
-0
No files found.
.github/workflows/docker-build.yml
View file @
8bc4bf1d
...
@@ -109,6 +109,9 @@ jobs:
...
@@ -109,6 +109,9 @@ jobs:
runs-on
:
ubuntu-latest
runs-on
:
ubuntu-latest
if
:
startsWith(github.ref, 'refs/tags/') || github.event_name == 'workflow_dispatch'
if
:
startsWith(github.ref, 'refs/tags/') || github.event_name == 'workflow_dispatch'
permissions
:
id-token
:
write
steps
:
steps
:
-
name
:
Set version
-
name
:
Set version
run
:
echo "TAG=${{ needs.build_single_arch.outputs.tag }}" >> $GITHUB_ENV
run
:
echo "TAG=${{ needs.build_single_arch.outputs.tag }}" >> $GITHUB_ENV
...
@@ -133,6 +136,14 @@ jobs:
...
@@ -133,6 +136,14 @@ jobs:
calciumion/new-api:latest-amd64 \
calciumion/new-api:latest-amd64 \
calciumion/new-api:latest-arm64
calciumion/new-api:latest-arm64
-
name
:
Install cosign
uses
:
sigstore/cosign-installer@v3
-
name
:
Sign manifests with cosign
run
:
|
cosign sign --yes calciumion/new-api:${TAG}
cosign sign --yes calciumion/new-api:latest
-
name
:
Manifest summary
-
name
:
Manifest summary
run
:
|
run
:
|
echo "### Multi-arch Manifest" >> $GITHUB_STEP_SUMMARY
echo "### Multi-arch Manifest" >> $GITHUB_STEP_SUMMARY
...
...
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