From c3ab81f7eabe5a165507bf8cc3413e8747af6bf1 Mon Sep 17 00:00:00 2001 From: Adam Lerman Date: Fri, 27 Sep 2024 15:31:39 +0000 Subject: [PATCH] test --- .github/workflows/build-accumulo.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-accumulo.yml b/.github/workflows/build-accumulo.yml index 0878a1ad3e5..1ce56c9bca8 100644 --- a/.github/workflows/build-accumulo.yml +++ b/.github/workflows/build-accumulo.yml @@ -81,11 +81,13 @@ jobs: mvn -DaltDeploymentRepository=github-datawave::https://maven.pkg.github.com/NationalSecurityAgency/datawave -V -B -e -ntp "-Dstyle.color=always" -DskipTests -T1C clean deploy -s $GITHUB_WORKSPACE/datawave/.github/workflows/settings.xml - name: Trigger accumulo image build if: ${{ ( github.event.inputs.deployAccumulo || 'false' ) == 'true'}} + env: + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | curl -L \ -X POST \ -H "Accept: application/vnd.github+json" \ - -H "Authorization: Bearer ${{ secrets.REPOSITORY_ACCESS_TOKEN }}" \ + -H "Authorization: Bearer $GH_TOKEN}" \ -H "X-GitHub-Api-Version: 2022-11-28" \ https://api.github.com/repos/nationalsecurityagency/datawve-stack-docker-images/dispatches \ -d '{"event_type":"dispatch-event", client_payload: {"accumuloRepo": "${{ github.event.inputs.accumuloRepo || 'apache/accumulo' }}", "accumuloBranch": "${{ github.event.inputs.accumuloBranch || '2.1' }}", "tag": ${{ steps.get-accumulo-version.outputs.accumuloversion }}}}'