Skip to content

Commit

Permalink
fix: explicitly specify the name of the copied binary
Browse files Browse the repository at this point in the history
Signed-off-by: Zespre Chang <[email protected]>
  • Loading branch information
starbops committed Apr 29, 2024
1 parent 712f152 commit 0025da2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ RUN if [ "$TARGETPLATFORM" != "linux/amd64" ] && [ "$TARGETPLATFORM" != "linux/a

ENV ARCH=${TARGETPLATFORM#linux/}

COPY bin/harvester-load-balancer-${ARCH} /usr/bin/
COPY bin/harvester-load-balancer-${ARCH} /usr/bin/harvester-load-balancer
CMD ["harvester-load-balancer"]
2 changes: 1 addition & 1 deletion package/Dockerfile.webhook
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ RUN if [ "$TARGETPLATFORM" != "linux/amd64" ] && [ "$TARGETPLATFORM" != "linux/a

ENV ARCH=${TARGETPLATFORM#linux/}

COPY bin/harvester-load-balancer-webhook-${ARCH} /usr/bin/
COPY bin/harvester-load-balancer-webhook-${ARCH} /usr/bin/harvester-load-balancer-webhook
CMD ["harvester-load-balancer-webhook"]

0 comments on commit 0025da2

Please sign in to comment.