Skip to content

Merge pull request #211 from vmware-tanzu/fix-warning-linter #17

Merge pull request #211 from vmware-tanzu/fix-warning-linter

Merge pull request #211 from vmware-tanzu/fix-warning-linter #17

Workflow file for this run

# Copyright 2022 VMware, Inc.
# SPDX-License-Identifier: BSD-2-Clause
name: Release
on:
push:
tags:
- "v*.*.*"
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Unshallow
run: git fetch --prune --unshallow
- name: Docker login to Github Packages
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.18.x
- name: Release
uses: goreleaser/goreleaser-action@v4
with:
version: latest
args: release --rm-dist
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}