Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 5 additions & 9 deletions .github/workflows/release_triggers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,21 +10,17 @@ jobs:
notify:
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'success' }}
outputs:
version: ${{ steps.get-version.outputs.VERSION }} # Define job output
steps:
- name: Get the released tags version
id: get-version
run: |
REF="${{ github.event.workflow_run.head_branch }}"
echo ::set-output name=VERSION::${REF/refs\/tags\//}
- name: Trigger Bee Factory image build
uses: peter-evans/repository-dispatch@v1
with:
token: ${{ secrets.GHA_PAT_BASIC }}
repository: ethersphere/bee-factory
event-type: build-images
client-payload: '{"tag": "${{ steps.get-version.outputs.VERSION }}"}'
VERSION=${REF/refs\/tags\//}
echo "VERSION=$VERSION" >> "$GITHUB_OUTPUT" # Use GITHUB_OUTPUT
- name: Trigger repo publishing
uses: peter-evans/repository-dispatch@v1
uses: peter-evans/repository-dispatch@v3 # Use a more current version
with:
token: ${{ secrets.GHA_PAT_BASIC }}
repository: ethersphere/repos
Expand Down
Loading