Skip to content

Commit

Permalink
Add more detail to the comment explaining the required secrets
Browse files Browse the repository at this point in the history
Signed-off-by: Jade Carino <[email protected]>
  • Loading branch information
jadecarino committed Dec 9, 2024
1 parent d69513d commit 47bb9db
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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."
Expand All @@ -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."
Expand Down

0 comments on commit 47bb9db

Please sign in to comment.