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

fix: correct skip decryption (#106) #28

fix: correct skip decryption (#106)

fix: correct skip decryption (#106) #28

Workflow file for this run

name: release
on:
push:
tags:
- 'v*'
permissions:
contents: write
id-token: write
packages: write
jobs:
goreleaser:
runs-on: ubuntu-latest
env:
DOCKER_CLI_EXPERIMENTAL: "enabled"
steps:
- name: Checkout
uses: actions/checkout@v3
- uses: docker/setup-buildx-action@4b4e9c3e2d4531116a6f8ba8e71fc6e2cb6e6c8c # v2
- uses: sigstore/cosign-installer@v3.0.3
- uses: anchore/sbom-action/download-syft@v0.14.2
- name: ghcr-login
if: startsWith(github.ref, 'refs/tags/v')
uses: docker/login-action@465a07811f14bebb1938fbed4728c6a1ff8901fc # v1
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Set up Go
uses: actions/setup-go@v4
- name: Install Cosign
uses: sigstore/cosign-installer@main
with:
cosign-release: 'v1.13.1'
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v4
with:
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
COSIGN_PWD: ${{ secrets.COSIGN_PWD }}