Skip to content

Commit

Permalink
fix: Correct build process on controller image build
Browse files Browse the repository at this point in the history
  • Loading branch information
gonzalezzfelipe committed Feb 5, 2025
1 parent 09a1b19 commit 3dc7e6f
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/controller.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,12 @@ jobs:
toolchain: stable

- name: Run cargo build
uses: actions-rs/cargo@v1
with:
command: build
args: --target ${{ matrix.target }} ${{ matrix.args }}
run: cargo build --target ${{ matrix.target }} ${{ matrix.args }}
working-directory: operator

- name: rename binaries
run: |
mv target/${{ matrix.target }}/release/controller${{ matrix.ext }} controller-${{ matrix.release_for }}${{ matrix.ext }}
mv operator/target/${{ matrix.target }}/release/controller${{ matrix.ext }} controller-${{ matrix.release_for }}${{ matrix.ext }}
- name: upload artifacts
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit 3dc7e6f

Please sign in to comment.