mirror of
https://github.com/foomo/posh.git
synced 2025-10-16 12:45:38 +00:00
chore: add -trimpath
This commit is contained in:
parent
ef3e93d992
commit
3d66e427c9
@ -12,6 +12,7 @@ builds:
|
|||||||
env:
|
env:
|
||||||
- CGO_ENABLED=0
|
- CGO_ENABLED=0
|
||||||
flags:
|
flags:
|
||||||
|
- -trimpath
|
||||||
- -tags=safe
|
- -tags=safe
|
||||||
ldflags:
|
ldflags:
|
||||||
- -s -w
|
- -s -w
|
||||||
@ -60,7 +61,7 @@ dockers:
|
|||||||
- '--pull'
|
- '--pull'
|
||||||
# https://github.com/opencontainers/image-spec/blob/main/annotations.md#pre-defined-annotation-keys
|
# https://github.com/opencontainers/image-spec/blob/main/annotations.md#pre-defined-annotation-keys
|
||||||
- '--label=org.opencontainers.image.title={{.ProjectName}}'
|
- '--label=org.opencontainers.image.title={{.ProjectName}}'
|
||||||
- '--label=org.opencontainers.image.description=CLI utility manage infrastructure as code with helm'
|
- '--label=org.opencontainers.image.description=Project Oriented SHELL (posh)'
|
||||||
- '--label=org.opencontainers.image.source={{.GitURL}}'
|
- '--label=org.opencontainers.image.source={{.GitURL}}'
|
||||||
- '--label=org.opencontainers.image.url={{.GitURL}}'
|
- '--label=org.opencontainers.image.url={{.GitURL}}'
|
||||||
- '--label=org.opencontainers.image.documentation={{.GitURL}}'
|
- '--label=org.opencontainers.image.documentation={{.GitURL}}'
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user