fix: update dependency grpcio to v1.67.1 (#431) #412
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release | |
on: | |
push: | |
branches: | |
- main | |
permissions: read-all | |
jobs: | |
release: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write # for cycjimmy/semantic-release-action | |
id-token: write # for cosign | |
issues: write # for cycjimmy/semantic-release-action | |
packages: write # for docker/build-push-action | |
pull-requests: write # for cycjimmy/semantic-release-action | |
steps: | |
- name: Checkout | |
uses: actions/[email protected] | |
with: | |
fetch-depth: 0 | |
- name: Set up Node | |
uses: actions/[email protected] | |
with: | |
node-version: 22.10.0 # renovate: node | |
- name: Release | |
id: release | |
uses: cycjimmy/semantic-release-action@b1b432f13acb7768e0c8efdec416d363a57546f2 # v4.1.1 | |
with: | |
semantic_version: 24.2.0 # renovate: semantic-release | |
extra_plugins: | | |
[email protected] | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- name: Generate metadata | |
id: metadata | |
uses: docker/[email protected] | |
if: steps.release.outputs.new_release_published == 'true' | |
with: | |
images: ghcr.io/${{ github.repository_owner }}/pytest | |
tags: | | |
type=raw,value=${{ steps.release.outputs.new_release_version }} | |
flavor: | | |
latest=true | |
- name: Login to registry | |
uses: docker/[email protected] | |
if: steps.release.outputs.new_release_published == 'true' | |
with: | |
registry: ghcr.io | |
username: ${{ github.actor }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- name: Build and push | |
id: build-push | |
uses: docker/[email protected] | |
if: steps.release.outputs.new_release_published == 'true' | |
with: | |
push: true | |
tags: ${{ steps.metadata.outputs.tags }} | |
labels: ${{ steps.metadata.outputs.labels }} | |
- name: Install Cosign | |
uses: sigstore/[email protected] | |
if: steps.release.outputs.new_release_published == 'true' | |
with: | |
cosign-release: v2.4.1 # renovate: cosign | |
- name: Sign | |
run: cosign sign --yes ghcr.io/${{ github.repository_owner }}/pytest@${{ steps.build-push.outputs.digest }} | |
if: steps.release.outputs.new_release_published == 'true' |