Skip to content

Commit 9122606

Browse files
correct registry
1 parent 5c0123d commit 9122606

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

.github/workflows/build.yaml

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,20 +8,21 @@ jobs:
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

0 commit comments

Comments
 (0)