Skip to content

Commit 3dc7e6f

Browse files
fix: Correct build process on controller image build
1 parent 09a1b19 commit 3dc7e6f

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

.github/workflows/controller.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,14 +41,12 @@ jobs:
4141
toolchain: stable
4242

4343
- name: Run cargo build
44-
uses: actions-rs/cargo@v1
45-
with:
46-
command: build
47-
args: --target ${{ matrix.target }} ${{ matrix.args }}
44+
run: cargo build --target ${{ matrix.target }} ${{ matrix.args }}
45+
working-directory: operator
4846

4947
- name: rename binaries
5048
run: |
51-
mv target/${{ matrix.target }}/release/controller${{ matrix.ext }} controller-${{ matrix.release_for }}${{ matrix.ext }}
49+
mv operator/target/${{ matrix.target }}/release/controller${{ matrix.ext }} controller-${{ matrix.release_for }}${{ matrix.ext }}
5250
5351
- name: upload artifacts
5452
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)