ci: output oras path (#4373)

* ci: output oras path

Some workflows expect bootstrap to output the oras path. This seems like
a reasonable thing for it to do.

Signed-off-by: Will Murphy <willmurphyscode@users.noreply.github.com>

* ci: use path to oras from binny

Signed-off-by: Will Murphy <willmurphyscode@users.noreply.github.com>

---------

Signed-off-by: Will Murphy <willmurphyscode@users.noreply.github.com>
This commit is contained in:
Will Murphy 2025-11-17 10:36:45 -05:00 committed by GitHub
parent 75ad5c6c74
commit 1c22325385
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -28,8 +28,9 @@ jobs:
id: bootstrap id: bootstrap
- name: Login to GitHub Container Registry - name: Login to GitHub Container Registry
run: | run: echo "${{ secrets.GITHUB_TOKEN }}" | .tool/oras login ghcr.io -u "$ACTOR" --password-stdin
echo "${{ secrets.GITHUB_TOKEN }}" | ${{ steps.bootstrap.outputs.oras }} login ghcr.io -u ${{ github.actor }} --password-stdin env:
ACTOR: ${{ github.actor }}
- name: Pull CPE cache from registry - name: Pull CPE cache from registry
run: make generate:cpe-index:cache:pull run: make generate:cpe-index:cache:pull