From bcb4128b3750290050b3a838b286c5a47c1ac398 Mon Sep 17 00:00:00 2001 From: Richard Treier Date: Tue, 24 Oct 2023 16:22:14 +0200 Subject: [PATCH] ci: add access to edc-extension packages --- .github/workflows/build-and-publish-connector-images.yml | 2 +- .github/workflows/build-and-publish-maven-artifacts.yml | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) 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