Skip to content

Build Tag

Build Tag #10

Workflow file for this run

---
name: "Build Tag"
on:
push:
tags:
- '*'
jobs:
build-tag:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup Go
uses: actions/setup-go@v3
with:
go-version: '^1.18.0'
cache: true
- name: Login to ghcr
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.CONTAINER_TOKEN }}
- name: buf-setup
uses: bufbuild/buf-setup-action@v1.28.1
- name: grpc
run: make grpc
- name: goreleaser
uses: goreleaser/goreleaser-action@v4.2.0
with:
distribution: goreleaser
version: latest
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.CONTAINER_TOKEN }}