mirror of
https://github.com/bitwarden/self-host.git
synced 2026-06-28 06:15:46 +00:00
BRE-648 - Fix syntax and formatting (#352)
This commit is contained in:
2
.github/workflows/build-unified.yml
vendored
2
.github/workflows/build-unified.yml
vendored
@@ -165,7 +165,7 @@ jobs:
|
||||
- name: Verify the signed image(s) with Cosign
|
||||
if: env.is_publish_branch == 'true'
|
||||
run: |
|
||||
cosign verify
|
||||
cosign verify \
|
||||
--certificate-identity "${{ github.server_url }}/${{ github.workflow_ref }}" \
|
||||
--certificate-oidc-issuer "https://token.actions.githubusercontent.com" \
|
||||
${{ steps.sign.outputs.images }}
|
||||
|
||||
22
.github/workflows/release.yml
vendored
22
.github/workflows/release.yml
vendored
@@ -298,8 +298,15 @@ jobs:
|
||||
|
||||
- name: Verify the signed image with Cosign
|
||||
run: |
|
||||
cosign verify --certificate-identity "${{ github.server_url }}/${{ github.workflow_ref }}" --certificate-oidc-issuer "https://token.actions.githubusercontent.com" ghcr.io/bitwarden/$_PROJECT_NAME:$_RELEASE_TAG
|
||||
cosign verify --certificate-identity "${{ github.server_url }}/${{ github.workflow_ref }}" --certificate-oidc-issuer "https://token.actions.githubusercontent.com" ghcr.io/bitwarden/$_PROJECT_NAME:latest
|
||||
cosign verify \
|
||||
--certificate-identity "${{ github.server_url }}/${{ github.workflow_ref }}" \
|
||||
--certificate-oidc-issuer "https://token.actions.githubusercontent.com" \
|
||||
ghcr.io/bitwarden/$_PROJECT_NAME:$_RELEASE_TAG
|
||||
|
||||
cosign verify \
|
||||
--certificate-identity "${{ github.server_url }}/${{ github.workflow_ref }}" \
|
||||
--certificate-oidc-issuer "https://token.actions.githubusercontent.com" \
|
||||
ghcr.io/bitwarden/$_PROJECT_NAME:latest
|
||||
|
||||
- name: Log out of Docker
|
||||
run: |
|
||||
@@ -406,8 +413,15 @@ jobs:
|
||||
|
||||
- name: Verify the signed image with Cosign
|
||||
run: |
|
||||
cosign verify --certificate-identity "${{ github.server_url }}/${{ github.workflow_ref }}" --certificate-oidc-issuer "https://token.actions.githubusercontent.com" ghcr.io/bitwarden/self-host:$_RELEASE_TAG
|
||||
cosign verify --certificate-identity "${{ github.server_url }}/${{ github.workflow_ref }}" --certificate-oidc-issuer "https://token.actions.githubusercontent.com" ghcr.io/bitwarden/self-host:latest
|
||||
cosign verify \
|
||||
--certificate-identity "${{ github.server_url }}/${{ github.workflow_ref }}" \
|
||||
--certificate-oidc-issuer "https://token.actions.githubusercontent.com" \
|
||||
ghcr.io/bitwarden/self-host:$_RELEASE_TAG
|
||||
|
||||
cosign verify \
|
||||
--certificate-identity "${{ github.server_url }}/${{ github.workflow_ref }}" \
|
||||
--certificate-oidc-issuer "https://token.actions.githubusercontent.com" \
|
||||
ghcr.io/bitwarden/self-host:latest
|
||||
|
||||
- name: Log out of Docker
|
||||
run: docker logout ghcr.io
|
||||
|
||||
Reference in New Issue
Block a user