diff --git a/.github/workflows/build-and-publish-connector-images.yml b/.github/workflows/build-and-publish-connector-images.yml index 5bac2180a..92dda849c 100644 --- a/.github/workflows/build-and-publish-connector-images.yml +++ b/.github/workflows/build-and-publish-connector-images.yml @@ -92,6 +92,6 @@ jobs: tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} build-args: | - BUILD_ARGS=${{ matrix.imageVariants.buildArgs }} + BUILD_ARGS=${{ matrix.imageVariants.buildArgs }} -Pgpr.user=${{ github.actor }} -Pgpr.key=${{ secrets.GITHUB_TOKEN }} EDC_LAST_COMMIT_INFO_ARG="${{ env.LAST_COMMIT_INFO }}" EDC_BUILD_DATE_ARG="${{ env.BUILD_DATE }}" diff --git a/.github/workflows/build-and-publish-maven-artifacts.yml b/.github/workflows/build-and-publish-maven-artifacts.yml index 05c0c1fac..00cb3e4c0 100644 --- a/.github/workflows/build-and-publish-maven-artifacts.yml +++ b/.github/workflows/build-and-publish-maven-artifacts.yml @@ -50,6 +50,9 @@ jobs: uses: gradle/gradle-build-action@243af859f8ca30903d9d7f7936897ca0358ba691 with: arguments: build ${{ env.GRADLE_ARGS }} + env: + USERNAME: ${{ github.actor }} + TOKEN: ${{ secrets.GITHUB_TOKEN }} # The USERNAME and TOKEN need to correspond to the credentials environment variables used in # the publishing section of your build.gradle