Skip to content

Commit

Permalink
Use fpm binary from within dev_image_extras container for cli releases
Browse files Browse the repository at this point in the history
Signed-off-by: Dom Del Nano <[email protected]>
  • Loading branch information
ddelnano committed Sep 10, 2024
1 parent 07fff00 commit d899cd7
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions ci/cli_build_release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,7 @@ bazel run -c opt --config=stamp //src/pixie_cli:push_px_image

if [[ ! "$release_tag" == *"-"* ]]; then
# Create rpm package.
podman run -i --rm \
-v "${binary_dir}:/src/" \
-v "$(pwd):/image" \
docker.io/cdrx/fpm-fedora:24 \
fpm \
fpm \
-f \
-p "/image/${pkg_prefix}.rpm" \
-s dir \
Expand All @@ -68,11 +64,7 @@ if [[ ! "$release_tag" == *"-"* ]]; then
px

# Create deb package.
podman run -i --rm \
-v "${binary_dir}:/src/" \
-v "$(pwd):/image" \
docker.io/cdrx/fpm-ubuntu:18.04 \
fpm \
fpm \
-f \
-p "/image/${pkg_prefix}.deb" \
-s dir \
Expand Down

0 comments on commit d899cd7

Please sign in to comment.