Skip to content

Commit

Permalink
Copy binaries out of target directory
Browse files Browse the repository at this point in the history
  • Loading branch information
rnijveld committed May 14, 2024
1 parent 143f933 commit 77a9db5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ jobs:
- name: Build
run: |
cross build --release --target x86_64-unknown-linux-gnu
mv target/x86_64-unknown-linux-gnu/release/kuberwave target/kuberwave.amd64
mv target/x86_64-unknown-linux-gnu/release/kuberwave kuberwave.amd64
cross build --release --target aarch64-unknown-linux-gnu
mv target/aarch64-unknown-linux-gnu/release/kuberwave target/kuberwave.arm64
mv target/aarch64-unknown-linux-gnu/release/kuberwave kuberwave.arm64
- name: Log in to the container registry
uses: docker/login-action@v3
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ RUN curl -s -L https://github.com/getsops/sops/releases/download/v${SOPS_VERSION
&& chmod 0755 /usr/local/bin/sops

# copy executable
COPY target/kuberwave.$TARGETARCH /usr/local/bin/kuberwave
COPY kuberwave.$TARGETARCH /usr/local/bin/kuberwave

# run kuberwave
CMD ["/usr/local/bin/kuberwave"]

0 comments on commit 77a9db5

Please sign in to comment.