Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Publish edge rad CLI binaries to
./rad
instead of `./dist/os_arch/r…
…elease/rad` (radius-project#6634) # Description This fixes the edge rad publishing to be just the binary instead of the full path ## Type of change <!-- Please select **one** of the following options that describes your change and delete the others. Clearly identifying the type of change you are making will help us review your PR faster, and is used in authoring release notes. If you are making a bug fix or functionality change to Radius and do not have an associated issue link please create one now. --> - This pull request fixes a bug in Radius and has an approved issue (issue link required). - This pull request adds or changes features of Radius and has an approved issue (issue link required). - This pull request is a minor refactor, code cleanup, test improvement, or other maintenance task and doesn't change the functionality of Radius (issue link optional). <!-- Please update the following to link the associated issue. This is required for some kinds of changes (see above). --> Fixes: radius-project#6633 ## Auto-generated summary <!-- GitHub Copilot for docs will auto-generate a summary of the PR --> <!-- copilot:all --> ### <samp>🤖 Generated by Copilot at 5d814c2</samp> ### Summary :package::whale::zap: <!-- 1. :package: This emoji represents the packaging or bundling of the rad binary into a single file that can be easily distributed and executed. It also implies that the change is related to the build or release process of the project. 2. :whale: This emoji represents the Docker or container aspect of the change, as it involves pushing the rad binary to a container registry using oras. It also implies that the change is related to the deployment or distribution of the project. 3. :zap: This emoji represents the optimization or performance improvement of the change, as it reduces the image size and removes unnecessary files from the image. It also implies that the change is related to the speed or efficiency of the project. --> The pull request optimizes the image size and structure of the `rad` cli binaries by copying them to the root directory before pushing them with `oras`. The change affects the `.github/workflows/build.yaml` file. > _`rad` binary copied_ > _to root before container push_ > _smaller image, spring cleaning_ ### Walkthrough * Copy rad binary to root directory before pushing to container registry ([link](https://github.com/radius-project/radius/pull/6634/files?diff=unified&w=0#diff-d0777657fa3fd81d23aaf7273e58aee453b04e67882517900c56daeef9b3e4c1L219-R225)) Signed-off-by: willdavsmith <willdavsmith@gmail.com>
- Loading branch information