Skip to content

Commit

Permalink
Use CRAFT_TARGET_ARCH to set which arch to build (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
addyess authored Oct 4, 2024
1 parent 00cb7d7 commit a95945e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rockcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@ parts:
build-snaps:
- go/1.21/stable
override-build: |
make
make ARCH=${CRAFT_TARGET_ARCH}
cp $CRAFT_PART_BUILD/metrics-server $CRAFT_PART_INSTALL

0 comments on commit a95945e

Please sign in to comment.