commit:     5100d6c1b3a00ffc6d984a3020a8a7ebf1da5a77
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sat Jan  3 15:31:00 2026 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sat Jan  3 15:34:47 2026 +0000
URL:        
https://gitweb.gentoo.org/proj/pkgcore/pkgcore.git/commit/?id=5100d6c1

ci: run gentoo-regen in gentoo container image

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 .github/workflows/test.yml | 13 +++----------
 1 file changed, 3 insertions(+), 10 deletions(-)

diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 3083f049..46d3ec05 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -163,6 +163,8 @@ jobs:
         args: "format --check --diff"
 
   gentoo-regen:
+    container:
+      image: docker.io/gentoo/stage3:latest
     runs-on: ubuntu-latest
     continue-on-error: true # This job currently fails with ubuntu's bash 5.3
     steps:
@@ -172,21 +174,12 @@ jobs:
         artifact-id: ${{ inputs.release-artifact-id }}
         path: pkgcore
 
-    - name: Install bash 5.3
-      uses: pkgcore/gh-actions/bash-5.3@main
-
     - name: Checkout gentoo
       uses: actions/checkout@v4
       with:
         repository: gentoo/gentoo
         path: gentoo
 
-    - name: Collect gentoo sha1
-      run: |
-        rev=$(git --git-dir gentoo/.git/ rev-parse HEAD)
-        echo "sha1 is $rev"
-        echo "GENTOO_SHA1=${rev}" >> "$GITHUB_ENV"
-
     - name: Set up Python 3.13
       uses: actions/setup-python@v5
       with:
@@ -197,6 +190,6 @@ jobs:
         python -m pip install --upgrade pip
         pip install "./pkgcore"
 
-    - name: Run pmaint regen against ${{ env.GENTOO_SHA1 }}
+    - name: Run pmaint regen
       working-directory: ./gentoo
       run: pmaint regen --use-local-desc --pkg-desc-index --rsync --force .

Reply via email to