From 7fd7f7262245cd98a251857f1059d079c0a276b0 Mon Sep 17 00:00:00 2001 From: Andrew Eisenberg Date: Tue, 30 Aug 2022 14:09:28 -0700 Subject: [PATCH] Possible fix --- .github/workflows/__init-with-registries.yml | 3 ++- pr-checks/checks/init-with-registries.yml | 3 ++- .../.github/codeql/codeql-config-registries.yml | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/__init-with-registries.yml b/.github/workflows/__init-with-registries.yml index 5f06dcf3c5..44e1bb1b15 100644 --- a/.github/workflows/__init-with-registries.yml +++ b/.github/workflows/__init-with-registries.yml @@ -64,10 +64,11 @@ jobs: tools: ${{ steps.prepare-test.outputs.tools-url }} config-file: ./.github/codeql/codeql-config-registries.yml languages: javascript - registries-auth-tokens: https://ghcr.io/v2=${{ secrets.GITHUB_TOKEN }} + registries-auth-tokens: https://ghcr.io/v2/=${{ secrets.GITHUB_TOKEN }} env: TEST_MODE: true - name: Verify packages installed + shell: bash run: | PRIVATE_PACK="$HOME/.codeql/packages/dsp-testing/private-pack" CODEQL_PACK1="$HOME/.codeql/packages/dsp-testing/codeql-pack1" diff --git a/pr-checks/checks/init-with-registries.yml b/pr-checks/checks/init-with-registries.yml index 59577b022a..8f61a6122e 100644 --- a/pr-checks/checks/init-with-registries.yml +++ b/pr-checks/checks/init-with-registries.yml @@ -13,10 +13,11 @@ steps: tools: ${{ steps.prepare-test.outputs.tools-url }} config-file: ./.github/codeql/codeql-config-registries.yml languages: javascript - registries-auth-tokens: https://ghcr.io/v2=${{ secrets.GITHUB_TOKEN }} + registries-auth-tokens: https://ghcr.io/v2/=${{ secrets.GITHUB_TOKEN }} env: TEST_MODE: true - name: Verify packages installed + shell: bash run: | PRIVATE_PACK="$HOME/.codeql/packages/dsp-testing/private-pack" CODEQL_PACK1="$HOME/.codeql/packages/dsp-testing/codeql-pack1" diff --git a/tests/multi-language-repo/.github/codeql/codeql-config-registries.yml b/tests/multi-language-repo/.github/codeql/codeql-config-registries.yml index e0393f6cc1..dba07b9edc 100644 --- a/tests/multi-language-repo/.github/codeql/codeql-config-registries.yml +++ b/tests/multi-language-repo/.github/codeql/codeql-config-registries.yml @@ -8,5 +8,5 @@ packs: registries: # enforce using the registries block for all packs - - url: https://ghcr.io/v2 + - url: https://ghcr.io/v2/ packages: "*"