mirror of
https://github.com/vyos/vyos-build.git
synced 2025-10-01 20:28:40 +02:00
Merge pull request #753 from sever-sever/T6674-actions-keys
T6674: Add keys gpg_key_id and package_branch to rebuild packages
This commit is contained in:
commit
ae3e89deea
@ -16,12 +16,12 @@ jobs:
|
|||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
ref: current
|
ref: ${{ github.ref_name }}
|
||||||
|
|
||||||
- uses: dorny/paths-filter@v3
|
- uses: dorny/paths-filter@v3
|
||||||
id: changes
|
id: changes
|
||||||
with:
|
with:
|
||||||
base: current
|
base: ${{ github.ref_name }}
|
||||||
filters: |
|
filters: |
|
||||||
aws-gwlbtun:
|
aws-gwlbtun:
|
||||||
- 'scripts/package-build/aws-gwlbtun/**'
|
- 'scripts/package-build/aws-gwlbtun/**'
|
||||||
@ -88,7 +88,7 @@ jobs:
|
|||||||
-H "Authorization: Bearer ${{ secrets.PAT }}" \
|
-H "Authorization: Bearer ${{ secrets.PAT }}" \
|
||||||
-H "X-GitHub-Api-Version: 2022-11-28" \
|
-H "X-GitHub-Api-Version: 2022-11-28" \
|
||||||
https://api.github.com/repos/${{ secrets.REMOTE_OWNER }}/${{ secrets.REMOTE_REUSE_REPO }}/actions/workflows/build-package.yml/dispatches \
|
https://api.github.com/repos/${{ secrets.REMOTE_OWNER }}/${{ secrets.REMOTE_REUSE_REPO }}/actions/workflows/build-package.yml/dispatches \
|
||||||
-d '{"ref": "${{ env.REF }}", "inputs":{"package_name":"'"$PACKAGE_NAME"'"}}'
|
-d '{"ref": "${{ env.REF }}", "inputs":{"package_name":"'"$PACKAGE_NAME"'", "gpg_key_id": "${{ secrets.GPG_KEY_ID }}", "package_branch": "${{ github.ref_name }}"}}'
|
||||||
}
|
}
|
||||||
|
|
||||||
# Trigger builds based on detected changes
|
# Trigger builds based on detected changes
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user