Skip to content

Commit

Permalink
Removing rad-ci-bot
Browse files Browse the repository at this point in the history
  • Loading branch information
willdavsmith committed Oct 16, 2023
1 parent 121d91e commit bf46bf0
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/publish-recipes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ concurrency:
cancel-in-progress: true

env:
GHCR_ACTOR: rad-ci-bot
RAD_CLI_URL: https://get.radapp.dev/tools/rad/install.sh

jobs:
Expand All @@ -52,8 +51,8 @@ jobs:
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ env.GHCR_ACTOR }}
password: ${{ secrets.GH_RAD_CI_BOT_PAT }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Publish Recipes to GHCR
# Uses REL_VERSION as the recipe version so PR builds result in a `pr-<pr number>` tag
run: ./.github/scripts/publish-recipes.sh radius-project dev/recipes ${{ env.REL_VERSION }}
Expand All @@ -68,6 +67,12 @@ jobs:
uses: actions/checkout@v3
- name: Parse release version and set environment variables
run: python ./.github/scripts/get_release_version.py
- name: Login to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Delete Recipes from GHCR
# Uses REL_VERSION as the recipe version so PR builds result in a `pr-<pr number>` tag
run: ./.github/scripts/delete-recipes.sh radius-project dev/recipes ${{ env.REL_VERSION }}
Expand Down Expand Up @@ -96,7 +101,7 @@ jobs:
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GH_RAD_CI_BOT_PAT }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Publish Recipes to GHCR
run: |
./.github/scripts/publish-recipes.sh radius-project recipes ${{ env.REL_CHANNEL }}
Expand Down

0 comments on commit bf46bf0

Please sign in to comment.