Skip to content

Bump google.golang.org/protobuf from 1.35.2 to 1.36.2 #121

Bump google.golang.org/protobuf from 1.35.2 to 1.36.2

Bump google.golang.org/protobuf from 1.35.2 to 1.36.2 #121

Workflow file for this run

# Copyright 2024 Nokia
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
---
name: release
on:
push:
branches:
- main
- docs-publish
tags:
- "v*"
pull_request:
workflow_dispatch:
env:
GOVER: 1.21.4
jobs:
build-and-release:
runs-on: sdcio-action-runners
if: startsWith(github.ref, 'refs/tags/v')
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
# Make sure the @v0.8.0 matches the current version of the action
- uses: webfactory/ssh-agent@v0.9.0
with:
ssh-private-key: ${{ secrets.IPTECHARCH_SSH_KEY }}
- name: Setup Git config
run: |
git config --global url."ssh://git@github.com/".insteadOf "https://github.com/"
mkdir -p -m 0700 /home/runner/.ssh && ssh-keyscan github.com >> /home/runner/.ssh/known_hosts
- uses: actions/setup-go@v5
with:
go-version: ${{ env.GOVER }}
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Login to private k8s Container Registry
uses: docker/login-action@v3
with:
registry: registry.k8s.sdcio.dev
username: iptecharch-builder
password: ${{ secrets.K8S_REGISTRY_HANS }}
- name: Login to Karim's Private k8s Container Registry
uses: docker/login-action@v3
with:
registry: registry.kmrd.dev
username: iptecharch-builder
password: ${{ secrets.K8S_REGISTRY_HANS }}
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v6
with:
# either 'goreleaser' (default) or 'goreleaser-pro'
distribution: goreleaser
version: latest
args: release --clean -f .goreleaser.yml
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}