mirror of
https://github.com/kairos-io/immucore.git
synced 2025-04-29 03:35:21 +00:00
On tag check fips build (#463)
This commit is contained in:
parent
2d238e7014
commit
8631d97b22
@ -23,6 +23,9 @@ builds:
|
|||||||
- amd64
|
- amd64
|
||||||
binary: '{{ .ProjectName }}'
|
binary: '{{ .ProjectName }}'
|
||||||
id: fips-amd64
|
id: fips-amd64
|
||||||
|
hooks:
|
||||||
|
post:
|
||||||
|
- bash -c 'set -e; go version {{.Path}} | grep boringcrypto || (echo "boringcrypto not found" && exit 1)'
|
||||||
- ldflags:
|
- ldflags:
|
||||||
- w -s -X "github.com/kairos-io/immucore/internal/version.version={{.Tag}}" -X "github.com/kairos-io/immucore/internal/version.gitCommit={{.Commit}}"
|
- w -s -X "github.com/kairos-io/immucore/internal/version.version={{.Tag}}" -X "github.com/kairos-io/immucore/internal/version.gitCommit={{.Commit}}"
|
||||||
env:
|
env:
|
||||||
@ -35,6 +38,9 @@ builds:
|
|||||||
- arm64
|
- arm64
|
||||||
binary: '{{ .ProjectName }}'
|
binary: '{{ .ProjectName }}'
|
||||||
id: fips-arm64
|
id: fips-arm64
|
||||||
|
hooks:
|
||||||
|
post:
|
||||||
|
- bash -c 'set -e; go version {{.Path}} | grep boringcrypto || (echo "boringcrypto not found" && exit 1)'
|
||||||
source:
|
source:
|
||||||
enabled: true
|
enabled: true
|
||||||
name_template: '{{ .ProjectName }}-{{ .Tag }}-source'
|
name_template: '{{ .ProjectName }}-{{ .Tag }}-source'
|
||||||
|
Loading…
Reference in New Issue
Block a user