Skip to content

Remove licenses generation CI step #2

Remove licenses generation CI step

Remove licenses generation CI step #2

Workflow file for this run

name: Release Pipeline
on:
push:
tags:
- "v*.*.*"
jobs:
goreleaser:
runs-on: ubuntu-latest
permissions:
contents: write
id-token: write
packages: write
env:
KO_DOCKER_REPO: "ghcr.io/${{ github.repository_owner }}"
KO_DATA_PATH: "/usr/share/doc/${{ github.repository }}/"
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Unshallow
run: git fetch --prune --unshallow
- name: Install tools
run: make install-ci-tools
- name: Install cosign
uses: sigstore/cosign-installer@v3.0.2
- name: Install Go
uses: actions/setup-go@v4
with:
go-version: 1.19.x
cache: true
# - name: Licenses
# run: make licenses
- name: Login to ghcr.io
uses: docker/login-action@f4ef78c080cd8ba55a85445d5b36e214a81df20a
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ github.token }}
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v4
id: run-goreleaser
with:
version: latest
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}