Skip to content

Commit

Permalink
use publish token?
Browse files Browse the repository at this point in the history
Signed-off-by: Sarah Christoff <28318173+schristoff@users.noreply.github.com>
  • Loading branch information
schristoff committed Feb 3, 2024
1 parent 8139c50 commit c8920db
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build_pipelinesrelease_template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ jobs:
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
password: ${{ secrets.PUBLISH_TOKEN }}
- name: Configure Agent
run: go run mage.go ConfigureAgent SetBinExecutable
- name: Integration Test
Expand Down Expand Up @@ -166,12 +166,12 @@ jobs:
run: go run mage.go ConfigureAgent UseXBuildBinaries
- name: Publish Porter Binaries
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
GITHUB_TOKEN: "${{ secrets.PUBLISH_TOKEN }}"
run: mage PublishPorter PublishMixins
Publish-publish_docker:
publish_ghcr:
env:
DOCKER_REGISTRY: https://ghcr.io/getporter
DOCKER_USERNAME: getporterbot
DOCKER_USERNAME: "${{ secrets.GHCR_USER }}"
name: Publish Docker Images
needs:
- Validate-build
Expand Down Expand Up @@ -201,6 +201,6 @@ jobs:
with:
registry: "${{ env.DOCKER_REGISTRY }}"
username: "${{ env.DOCKER_USERNAME }}"
password: "${{ secrets.DOCKER_PASSWORD }}"
password: "${{ secrets.PUBLISH_TOKEN }}"
- name: Publish Docker Images to ${{inputs.registry}}
run: PORTER_REGISTRY=${{inputs.registry}} mage PublishImages
2 changes: 1 addition & 1 deletion .github/workflows/changelog.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
with:
ref: main
fetch-depth: 0
token: ${{ secrets.GITHUB_TOKEN }}
token: ${{ secrets.PUBLISH_TOKEN }}

- name: Setup Node.js
uses: actions/setup-node@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/close-issues.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Closes issues related to a merged pull request.
uses: ldez/gha-mjolnir@v1.1.0
uses: ldez/gha-mjolnir@v1.3.2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit c8920db

Please sign in to comment.