From a86e09571830c11a39d69f58ddcf2557115dc4e2 Mon Sep 17 00:00:00 2001 From: Atif Ali Date: Mon, 30 Oct 2023 21:09:04 -0400 Subject: [PATCH] fix username --- .github/workflows/ci-build-image.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci-build-image.yml b/.github/workflows/ci-build-image.yml index 8603da121b..d5f89413cb 100644 --- a/.github/workflows/ci-build-image.yml +++ b/.github/workflows/ci-build-image.yml @@ -63,7 +63,16 @@ jobs: - name: maven-settings uses: s4u/maven-settings-action@v2 with: - githubServer: true + githubServer: false + - name: ghcr login + uses: redhat-actions/podman-login@v1 + with: + registry: ghcr.io/${{ github.repository_owner }} + username: ${{ github.actor }} + password: ${{ secrets.GITHUB_TOKEN }} + - uses: skjolber/maven-cache-github-action@v1 + with: + step: restore - run: git submodule init - run: git submodule update - run: mvn -B -U -Dbuild.arch=${{ inputs.build-arch }} clean package @@ -78,4 +87,3 @@ jobs: - uses: skjolber/maven-cache-github-action@v1 with: step: save -#test