From 47bb9db9ce5c93ee45ed4b405cc31b53a0096e9f Mon Sep 17 00:00:00 2001 From: Jade Carino Date: Mon, 9 Dec 2024 16:06:39 +0000 Subject: [PATCH] Add more detail to the comment explaining the required secrets Signed-off-by: Jade Carino --- .github/workflows/build.yaml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index df42f74..95df4da 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -26,7 +26,8 @@ jobs: - name: Check if WRITE_GITHUB_PACKAGES_USERNAME is set in this repository run: | if [ -z "${{ secrets.WRITE_GITHUB_PACKAGES_USERNAME }}" ]; then - echo "WRITE_GITHUB_PACKAGES_USERNAME is not set. Please configure it in the repository secrets." + echo "WRITE_GITHUB_PACKAGES_USERNAME is not set. Please configure it in the repository secrets. \ + It must contain the GitHub username you want to use to log into GitHub Container Registry." exit 1 else echo "WRITE_GITHUB_PACKAGES_USERNAME is set." @@ -35,7 +36,9 @@ jobs: - name: Check if WRITE_GITHUB_PACKAGES_TOKEN is set in this repository run: | if [ -z "${{ secrets.WRITE_GITHUB_PACKAGES_TOKEN }}" ]; then - echo "WRITE_GITHUB_PACKAGES_TOKEN is not set. Please configure it in the repository secrets." + echo "WRITE_GITHUB_PACKAGES_TOKEN is not set. Please configure it in the repository secrets. \ + It must contain a GitHub Personal Access Token with write:packages scope \ + that you want to use to log into GitHub Container Registry."" exit 1 else echo "WRITE_GITHUB_PACKAGES_TOKEN is set."