Skip to content

Commit

Permalink
Merge pull request #722 from chainguard-dev/feature/strip-g
Browse files Browse the repository at this point in the history
pipelines: strip: use -g by default when stripping
  • Loading branch information
mattmoor authored Sep 27, 2023
2 parents 9a5fc4e + 3ce6e33 commit b79336b
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion pkg/build/pipelines/strip.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ needs:
- binutils
- scanelf

inputs:
opts:
description: |
The option flags to pass to the strip command.
default: -g

pipeline:
- working-directory: ${{targets.contextdir}}
runs: |
Expand All @@ -13,5 +19,5 @@ pipeline:
[ "$osabi" != "STANDALONE" ] || continue
# scanelf may have picked up a temp file so verify that file still exists
strip "${filename}" || [ ! -e "$filename" ]
strip ${{inputs.opts}} "${filename}" || [ ! -e "$filename" ]
done

0 comments on commit b79336b

Please sign in to comment.