From e81ca4263fad5cb4bde5861d0a0afd1cbf94cc14 Mon Sep 17 00:00:00 2001 From: Isaac Lewis Date: Tue, 16 Jan 2024 23:02:14 -0800 Subject: [PATCH] no ghcr tokens --- .github/workflows/create-4.0-outputs.yml | 11 +++-------- .github/workflows/create-5.0-outputs.yml | 11 +++-------- 2 files changed, 6 insertions(+), 16 deletions(-) diff --git a/.github/workflows/create-4.0-outputs.yml b/.github/workflows/create-4.0-outputs.yml index d1166171eb..a8ccc416a3 100644 --- a/.github/workflows/create-4.0-outputs.yml +++ b/.github/workflows/create-4.0-outputs.yml @@ -4,11 +4,6 @@ name: Generate 4.0 Outputs on: # Scan on workflow call workflow_call: - secrets: - GHCR_USERNAME: - required: true - GHCR_TOKEN: - required: true # Scan on-demand through GitHub Actions interface: workflow_dispatch: {} @@ -19,9 +14,9 @@ jobs: steps: - uses: docker/login-action@v2.2.0 with: - registry: ghcr.io - username: ${{ secrets.GHCR_USERNAME }} - password: ${{ secrets.GHCR_TOKEN }} + registry: ghcr.io + username: ${{github.actor}} + password: ${{secrets.GITHUB_TOKEN}} - uses: actions/checkout@v3 - run: make 4.0 - uses: actions/upload-artifact@v3.1.2 diff --git a/.github/workflows/create-5.0-outputs.yml b/.github/workflows/create-5.0-outputs.yml index e179c3fdf5..82620e3eb8 100644 --- a/.github/workflows/create-5.0-outputs.yml +++ b/.github/workflows/create-5.0-outputs.yml @@ -4,11 +4,6 @@ name: Generate 5.0 Outputs on: # Scan on workflow call workflow_call: - secrets: - GHCR_USERNAME: - required: true - GHCR_TOKEN: - required: true # Scan on-demand through GitHub Actions interface: workflow_dispatch: {} @@ -19,9 +14,9 @@ jobs: steps: - uses: docker/login-action@v2.2.0 with: - registry: ghcr.io - username: ${{ secrets.GHCR_USERNAME }} - password: ${{ secrets.GHCR_TOKEN }} + registry: ghcr.io + username: ${{github.actor}} + password: ${{secrets.GITHUB_TOKEN}} - uses: actions/checkout@v3 - run: make 5.0 - uses: actions/upload-artifact@v3.1.2