Skip to content

done build linux

done build linux #26

Workflow file for this run

name: Go Release
on:
push:
tags:
- 'v*'
permissions: {}
jobs:
goreleaser:
runs-on: ubuntu-latest
permissions:
contents: write # for goreleaser
# id-token: write # for attesttions
# attestations: write # for attesttions
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-go@v5
with:
go-version-file: 'go.mod'
- uses: anchore/sbom-action/download-syft@v0
- uses: goreleaser/goreleaser-action@v6
with:
version: '~> v2'
args: release --clean --fail-fast --skip=announce,publish
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# TAP_GITHUB_TOKEN: ${{ secrets.TAP_GITHUB_TOKEN }}
- id: hello
uses: typisttech/tmp-attest-goreleaser-sbom-action/.github/actions/metadata@main
- run: echo "The time was ${{ steps.hello.outputs.artifacts }}"
# - uses: actions/attest-build-provenance@v1
# with:
# subject-path: |
# dist/vipdatasync_*.checksums.txt
# dist/vipdatasync_*/vipdatasync
# dist/vipdatasync_*.tar.gz
# dist/**/*.sbom.json
#
# - id: semver
# run: echo "semver=${CURRENT_REF_NAME#v}" >> $GITHUB_OUTPUT
# env:
# CURRENT_REF_NAME: ${{ github.ref_name }}
#
# - uses: actions/attest-sbom@v1
# with:
# subject-path: "dist/vipdatasync_${{ steps.semver.outputs.semver }}_darwin_amd64.tar.gz"
# sbom-path: "dist/vipdatasync_${{ steps.semver.outputs.semver }}_darwin_amd64.tar.gz.sbom.json"