diff options
author | Viacheslav Hletenko <v.gletenko@vyos.io> | 2024-09-05 13:35:38 +0000 |
---|---|---|
committer | Viacheslav Hletenko <v.gletenko@vyos.io> | 2024-09-05 14:42:43 +0000 |
commit | c371faf3898ffa95e7f75b803011f031e41ca39e (patch) | |
tree | 5337a2836b2a2a41b6e14f4aaa3ec222bcb9fdbe /.github/workflows/trigger_rebuild_packages.yml | |
parent | a6a4f08d56ad4076250f8cf96d588a5e00c755bc (diff) | |
download | vyos-build-c371faf3898ffa95e7f75b803011f031e41ca39e.tar.gz vyos-build-c371faf3898ffa95e7f75b803011f031e41ca39e.zip |
T6674: Add keys gpg_key_id and package_branch to rebuild packages
Diffstat (limited to '.github/workflows/trigger_rebuild_packages.yml')
-rw-r--r-- | .github/workflows/trigger_rebuild_packages.yml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/.github/workflows/trigger_rebuild_packages.yml b/.github/workflows/trigger_rebuild_packages.yml index 8096fa08..d9a2c913 100644 --- a/.github/workflows/trigger_rebuild_packages.yml +++ b/.github/workflows/trigger_rebuild_packages.yml @@ -16,12 +16,12 @@ jobs: - name: Checkout uses: actions/checkout@v4 with: - ref: current + ref: ${{ github.ref_name }} - uses: dorny/paths-filter@v3 id: changes with: - base: current + base: ${{ github.ref_name }} filters: | aws-gwlbtun: - 'scripts/package-build/aws-gwlbtun/**' @@ -88,7 +88,7 @@ jobs: -H "Authorization: Bearer ${{ secrets.PAT }}" \ -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 \ - -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 |