Skip to content

Commit

Permalink
Merge pull request #10 from amp-buildpacks/update/token
Browse files Browse the repository at this point in the history
  • Loading branch information
wangeguo authored Jan 13, 2024
2 parents de6c536 + 60c975b commit e376489
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/pipeline-descriptor.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
github:
username: ${{ github.actor }}
token: ${{ secrets.GITHUB_TOKEN }}
token: ${{ secrets.AMP_BUILDPACKS_BOT_GITHUB_TOKEN }}

package:
repositories: ["ghcr.io/amp-buildpacks/leo-dist"]
register: true
registry_token: ${{ secrets.GITHUB_TOKEN }}
registry_token: ${{ secrets.AMP_BUILDPACKS_BOT_GITHUB_TOKEN }}

docker_credentials:
- registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
password: ${{ secrets.AMP_BUILDPACKS_BOT_GITHUB_TOKEN }}
4 changes: 2 additions & 2 deletions .github/workflows/pb-update-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ jobs:
printf "release-notes<<%s\n%s\n%s\n" "${DELIMITER}" "${RELEASE_NOTES}" "${DELIMITER}" >> "${GITHUB_OUTPUT}" # see https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions#multiline-strings
env:
DESCRIPTOR: .github/pipeline-descriptor.yml
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.AMP_BUILDPACKS_BOT_GITHUB_TOKEN }}
- uses: peter-evans/create-pull-request@v5
with:
author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>
Expand All @@ -87,4 +87,4 @@ jobs:
labels: semver:patch, type:task
signoff: true
title: Bump pipeline from ${{ steps.pipeline.outputs.old-version }} to ${{ steps.pipeline.outputs.new-version }}
token: ${{ secrets.GITHUB_TOKEN }}
token: ${{ secrets.AMP_BUILDPACKS_BOT_GITHUB_TOKEN }}

0 comments on commit e376489

Please sign in to comment.