From 9122606de5d693ec076613a8c56fcfeaa9f4ce85 Mon Sep 17 00:00:00 2001 From: Amber Beasley Date: Thu, 16 Jan 2025 13:28:19 -0600 Subject: [PATCH] correct registry --- .github/workflows/build.yaml | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 7abb107..04fad7d 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -8,20 +8,21 @@ jobs: oras: permissions: contents: write - id-token: write + #id-token: write runs-on: ubuntu-latest steps: - - uses: octo-sts/action@6177b4481c00308b3839969c3eca88c96a91775f # v1.0.0 - id: octo-sts - with: - # can only run on main branch - scope: amber-beasley-liatrio/learning-actions - identity: semantic-release + # - uses: octo-sts/action@6177b4481c00308b3839969c3eca88c96a91775f # v1.0.0 + # id: octo-sts + # with: + # # can only run on main branch + # scope: amber-beasley-liatrio/learning-actions + # identity: semantic-release + ### ${{ steps.octo-sts.outputs.token }} - name: Setup oras uses: oras-project/setup-oras@v1 - name: Oras version run: oras version - name: Oras login - run: echo "${{ steps.octo-sts.outputs.token }}" | oras login ghcr.io --username ${{ github.actor }} --password-stdin + run: echo "${{ github.token }}" | oras login ghcr.io --username ${{ github.actor }} --password-stdin - name: Oras push - run: oras push ghcr.io/someorg/policy-hello:1.0.0 + run: oras push ghcr.io/amber-beasley-liatrio/policy-hello:1.0.0