Skip to content
This repository has been archived by the owner on Sep 22, 2024. It is now read-only.

chore(deps): update dependency grpc.net.common to v2.58.0 (#115) #120

chore(deps): update dependency grpc.net.common to v2.58.0 (#115)

chore(deps): update dependency grpc.net.common to v2.58.0 (#115) #120

name: .NET Release
on:
push:
branches:
- "main"
jobs:
semantic-release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 6.0.100
- name: Setup Kustomize
shell: bash
run: curl -s "https://raw.githubusercontent.com/kubernetes-sigs/kustomize/master/hack/install_kustomize.sh" | bash
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v3
- name: Semantic Release
uses: cycjimmy/semantic-release-action@v2
with:
extra_plugins: |
@semantic-release/exec
@semantic-release/git
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Build and Push
id: docker_build
uses: docker/build-push-action@v5
if: ${{env.BUILD_VERSION != ''}}
with:
context: ./
file: ./Operator/Dockerfile
push: true
build-args: |
BUILD_VERSION=${{ env.BUILD_VERSION }}
COMMIT_SHA=${{ github.sha }}
tags: |
ghcr.io/wirepact/k8s-operator:latest
ghcr.io/wirepact/k8s-operator:${{ github.sha }}
ghcr.io/wirepact/k8s-operator:${{ env.BUILD_VERSION }}