mirror of
https://github.com/anchore/syft.git
synced 2025-11-18 17:03:17 +01:00
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:
parent
75ad5c6c74
commit
1c22325385
@ -28,8 +28,9 @@ jobs:
|
||||
id: bootstrap
|
||||
|
||||
- name: Login to GitHub Container Registry
|
||||
run: |
|
||||
echo "${{ secrets.GITHUB_TOKEN }}" | ${{ steps.bootstrap.outputs.oras }} login ghcr.io -u ${{ github.actor }} --password-stdin
|
||||
run: echo "${{ secrets.GITHUB_TOKEN }}" | .tool/oras login ghcr.io -u "$ACTOR" --password-stdin
|
||||
env:
|
||||
ACTOR: ${{ github.actor }}
|
||||
|
||||
- name: Pull CPE cache from registry
|
||||
run: make generate:cpe-index:cache:pull
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user