Skip to content

Commit

Permalink
fix: don't build longhorn-manager twice before packaging
Browse files Browse the repository at this point in the history
Longhorn 8744

Signed-off-by: Derek Su <derek.su@suse.com>
(cherry picked from commit aad527c)
  • Loading branch information
derekbit authored and mergify[bot] committed Oct 22, 2024
1 parent fae2157 commit 5a630a1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/package
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ TAG=${TAG:-${IMAGE_TAG_PREFIX}}
REPO=${REPO:-longhornio}
IMAGE=${IMAGE:-${REPO}/longhorn-manager:${TAG}}

if [ ! -e ./bin/longhorn-manager ]; then
if [ ! -e ./bin/longhorn-manager-amd64 ] || [ ! -e ./bin/longhorn-manager-arm64 ]; then
echo "Building longhorn-manager binary before packaging"
./scripts/build
fi

Expand Down

0 comments on commit 5a630a1

Please sign in to comment.