File tree Expand file tree Collapse file tree 1 file changed +10
-9
lines changed
Expand file tree Collapse file tree 1 file changed +10
-9
lines changed Original file line number Diff line number Diff line change 88 oras :
99 permissions :
1010 contents : write
11- id-token : write
11+ # id-token: write
1212 runs-on : ubuntu-latest
1313 steps :
14- - uses : octo-sts/action@6177b4481c00308b3839969c3eca88c96a91775f # v1.0.0
15- id : octo-sts
16- with :
17- # can only run on main branch
18- scope : amber-beasley-liatrio/learning-actions
19- identity : semantic-release
14+ # - uses: octo-sts/action@6177b4481c00308b3839969c3eca88c96a91775f # v1.0.0
15+ # id: octo-sts
16+ # with:
17+ # # can only run on main branch
18+ # scope: amber-beasley-liatrio/learning-actions
19+ # identity: semantic-release
20+ # ## ${{ steps.octo-sts.outputs.token }}
2021 - name : Setup oras
2122 uses : oras-project/setup-oras@v1
2223 - name : Oras version
2324 run : oras version
2425 - name : Oras login
25- run : echo "${{ steps.octo-sts.outputs .token }}" | oras login ghcr.io --username ${{ github.actor }} --password-stdin
26+ run : echo "${{ github .token }}" | oras login ghcr.io --username ${{ github.actor }} --password-stdin
2627 - name : Oras push
27- run : oras push ghcr.io/someorg /policy-hello:1.0.0
28+ run : oras push ghcr.io/amber-beasley-liatrio /policy-hello:1.0.0
You can’t perform that action at this time.
0 commit comments