Skip to content

Commit

Permalink
update cert
Browse files Browse the repository at this point in the history
  • Loading branch information
ypoplavs committed Oct 30, 2024
1 parent 5a98f73 commit 967f6d5
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Release kubectl-testkube
on:
push:
tags:
- "v[0-9]+.[0-9]+.[0-9]+"
- "v[0-9]+.[0-9]+.[0-9]+-*"

permissions:
id-token: write # needed for keyless signing
Expand Down Expand Up @@ -268,6 +268,25 @@ jobs:
P12_CERT: ${{ steps.write_file.outputs.filePath }}
P12_PASSWORD: ${{ secrets.CERT_MSFT_KUBESHOP_P12_PASSWORD }}

- name: Sign Artifact with CodeSignTool
uses: sslcom/esigner-codesign@develop
with:
# Sign and timestamp code object.
command: sign
# SSL.com account username
username: ${{ secrets.ES_USERNAME }}
# SSL.com account password.
password: ${{ secrets.ES_PASSWORD }}
# Credential ID for signing certificate.
# OAuth TOTP Secret (https://www.ssl.com/how-to/automate-esigner-ev-code-signing)
totp_secret: ${{ secrets.ES_TOTP_SECRET }}
# Path of code object to be signed. (DLL, JAR, EXE, MSI files vb... )
file_path: testkube.msi
# Directory where signed code object(s) will be written.
# Scan code before sign
malware_block: false
# Environment Name, For Production 'PROD' or For Staging 'TEST'

- name: Get tag
id: tag
uses: dawidd6/action-get-tag@v1
Expand Down

0 comments on commit 967f6d5

Please sign in to comment.