mirror of
https://github.com/lkddi/Xboard.git
synced 2026-04-03 10:30:51 +08:00
ci: remove image signing
This commit is contained in:
11
.github/workflows/docker-publish.yml
vendored
11
.github/workflows/docker-publish.yml
vendored
@@ -58,7 +58,7 @@ jobs:
|
|||||||
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
|
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
|
||||||
tags: |
|
tags: |
|
||||||
type=ref,event=branch
|
type=ref,event=branch
|
||||||
type=sha,format=long
|
type=sha,format=short,prefix=,enable=true
|
||||||
type=raw,value=new,enable=${{ github.ref == 'refs/heads/master' }}
|
type=raw,value=new,enable=${{ github.ref == 'refs/heads/master' }}
|
||||||
type=raw,value=latest,enable=${{ github.ref == 'refs/heads/master' }}
|
type=raw,value=latest,enable=${{ github.ref == 'refs/heads/master' }}
|
||||||
type=raw,value=${{ steps.get_version.outputs.version }}
|
type=raw,value=${{ steps.get_version.outputs.version }}
|
||||||
@@ -98,12 +98,3 @@ jobs:
|
|||||||
allow: |
|
allow: |
|
||||||
network.host
|
network.host
|
||||||
|
|
||||||
- name: Install cosign
|
|
||||||
uses: sigstore/cosign-installer@v3.4.0
|
|
||||||
with:
|
|
||||||
cosign-release: 'v2.2.2'
|
|
||||||
|
|
||||||
- name: Sign image
|
|
||||||
if: steps.build-and-push.outputs.digest != ''
|
|
||||||
run: |
|
|
||||||
echo "${{ steps.meta.outputs.tags }}" | xargs -I {} cosign sign --yes "{}@${{ steps.build-and-push.outputs.digest }}"
|
|
||||||
Reference in New Issue
Block a user