From 5d814c2be5c9e6a2215590b91428a24b4cb2b9ab Mon Sep 17 00:00:00 2001 From: willdavsmith Date: Thu, 2 Nov 2023 10:26:16 -0700 Subject: [PATCH] Moving the edge rad binaries to the right path Signed-off-by: willdavsmith --- .github/workflows/build.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 0b7043f71b..f72643ebe1 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -216,11 +216,13 @@ jobs: - name: Push latest rad cli binary to GHCR (unix-like) if: github.ref == 'refs/heads/main' && matrix.target_os != 'windows' run: | - oras push ${{ env.CONTAINER_REGISTRY }}/rad/${{ matrix.target_os }}-${{ matrix.target_arch }}:latest ./dist/${{ matrix.target_os}}_${{ matrix.target_arch}}/release/rad --annotation "org.opencontainers.image.source=${{ env.IMAGE_SRC }}" + cp ./dist/${{ matrix.target_os}}_${{ matrix.target_arch}}/release/rad ./rad + oras push ${{ env.CONTAINER_REGISTRY }}/rad/${{ matrix.target_os }}-${{ matrix.target_arch }}:latest ./rad --annotation "org.opencontainers.image.source=${{ env.IMAGE_SRC }}" - name: Copy cli binaries to release (windows) if: github.ref == 'refs/heads/main' && matrix.target_os == 'windows' run: | - oras push ${{ env.CONTAINER_REGISTRY }}/rad/${{ matrix.target_os }}-${{ matrix.target_arch }}:latest ./dist/${{ matrix.target_os}}_${{ matrix.target_arch}}/release/rad.exe --annotation "org.opencontainers.image.source=${{ env.IMAGE_SRC }}" + cp ./dist/${{ matrix.target_os}}_${{ matrix.target_arch}}/release/rad.exe ./rad.exe + oras push ${{ env.CONTAINER_REGISTRY }}/rad/${{ matrix.target_os }}-${{ matrix.target_arch }}:latest .rad.exe --annotation "org.opencontainers.image.source=${{ env.IMAGE_SRC }}" build-and-push-images: name: Build and publish container images