Skip to content

Commit

Permalink
Merge pull request #417 from pSchlarb/GHARefactoring
Browse files Browse the repository at this point in the history
added ssh repo secret to publish WF
  • Loading branch information
WadeBarnes authored Jul 11, 2022
2 parents df2c287 + 62fba09 commit fdafaeb
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/Push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ jobs:
build-image:
name: Create Builder Image
needs: [workflow-setup]
if: ${{ always() }}
uses: hyperledger/indy-shared-gha/.github/workflows/buildimage.yaml@v1
with:
CACHE_KEY_BUILD: ${{ needs.workflow-setup.outputs.CACHE_KEY_BUILD }}
Expand Down Expand Up @@ -75,3 +74,4 @@ jobs:
REPO_COMPONENT: 'rc'
secrets:
BOT_PR_PAT: ${{ secrets.BOT_PR_PAT }}
SOVRIN_REPO_KEY: ${{ secrets.SOVRIN_REPO_KEY }}
3 changes: 2 additions & 1 deletion .github/workflows/publishRelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -99,4 +99,5 @@ jobs:
UBUNTU_VERSION: ${{ needs.release-infos.outputs.UBUNTU_VERSION }}
REPO_COMPONENT: ${{ needs.release-infos.outputs.component}}
secrets:
BOT_PR_PAT: ${{ secrets.BOT_PR_PAT }}
BOT_PR_PAT: ${{ secrets.BOT_PR_PAT }}
SOVRIN_REPO_KEY: ${{ secrets.SOVRIN_REPO_KEY }}
4 changes: 3 additions & 1 deletion .github/workflows/reuseable_publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ on:
secrets:
BOT_PR_PAT:
required: true
SOVRIN_REPO_KEY:
required: true
jobs:
publish_token_plugin:
name: Token Plugin Publish Packages
Expand Down Expand Up @@ -47,4 +49,4 @@ jobs:
path: /tmp/tokendebs/
- name: Publish Packages
run: |
./sovrin-packaging/upload_debs.py /tmp/tokendebs core ${{ inputs.REPO_COMPONENT }} --host repo.sovrin.org --ssh-key ${{ secrets.SOVRIN_REPO_KEY }}"
./sovrin-packaging/upload_debs.py /tmp/tokendebs core ${{ inputs.REPO_COMPONENT }} --host repo.sovrin.org --ssh-key ${{ secrets.SOVRIN_REPO_KEY }}

0 comments on commit fdafaeb

Please sign in to comment.