From 0a774951bb49089778766a5394dd2720872bbd07 Mon Sep 17 00:00:00 2001 From: willdavsmith Date: Mon, 16 Oct 2023 09:58:46 -0700 Subject: [PATCH] fix --- .github/scripts/publish-recipes.sh | 2 +- .github/workflows/publish-recipes.yaml | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/scripts/publish-recipes.sh b/.github/scripts/publish-recipes.sh index da849c8..3fc74bf 100755 --- a/.github/scripts/publish-recipes.sh +++ b/.github/scripts/publish-recipes.sh @@ -13,7 +13,7 @@ BICEP_EXECUTABLE="$BICEP_PATH/rad-bicep" # Print usage information function print_usage() { echo "Usage: $0 " - echo " Publishes all recipes in the repository to the Azure Container Registry. Requires you to be logged into GitHub" + echo " Publishes all recipes in the repository to the GitHub Container Registry. Requires you to be logged into GitHub" echo " BICEP_PATH: Path to the bicep executable. For example, ~/.rad/bin" echo " GHCR_ORG: Organization name of the GitHub Container Registry. For example, radius-project" echo " RECIPE_VERSION: Version of the recipe to publish. For example, 1.0" diff --git a/.github/workflows/publish-recipes.yaml b/.github/workflows/publish-recipes.yaml index 56f5ccf..9b3a4df 100644 --- a/.github/workflows/publish-recipes.yaml +++ b/.github/workflows/publish-recipes.yaml @@ -30,6 +30,9 @@ concurrency: group: publish-${{ github.event.pull_request.number || github.sha }} cancel-in-progress: true +env: + GITHUB_TOKEN: ${{ secrets.GH_RAD_CI_BOT_PAT }} + jobs: publish-dev: name: Publish Recipes to Dev GHCR