Added check for static binary

main
Jef Roosens 2022-01-14 20:38:36 +01:00
parent 3acce6df0f
commit d3dc0abc5b
Signed by: Jef Roosens
GPG Key ID: 955C0660072F691F
2 changed files with 5 additions and 0 deletions

View File

@ -23,3 +23,5 @@ pipeline:
group: 'build' group: 'build'
commands: commands:
- make prod - make prod
# Make sure the binary is actually static
- [ "$(readelf -d pvieter) | grep NEEDED | wc -l" = 0 ]

View File

@ -24,3 +24,6 @@ pipeline:
when: when:
event: tag event: tag
branch: main branch: main
depends_on:
builder