From 62b3dda30b9c47385d7cd26510f19fe67b8dcf8c Mon Sep 17 00:00:00 2001 From: Jason Ross Date: Thu, 16 Oct 2025 17:53:44 -0500 Subject: [PATCH] one more time --- .github/workflows/status-checks.yml | 31 +++++++++++++++++++++++------ 1 file changed, 25 insertions(+), 6 deletions(-) diff --git a/.github/workflows/status-checks.yml b/.github/workflows/status-checks.yml index 4de4904..016d517 100644 --- a/.github/workflows/status-checks.yml +++ b/.github/workflows/status-checks.yml @@ -216,14 +216,33 @@ jobs: env: DISTRO_TYPE: arch runs-on: ubuntu-latest - container: - image: ghcr.io/jmr-dev/android-file-handler-arch-builder:latest - credentials: - username: ${{ github.actor }} - password: ${{ secrets.GITHUB_TOKEN }} steps: - name: Checkout code - uses: actions/checkout@v4 + uses: actions/checkout@v3 + + - name: Log in to GitHub Container Registry + uses: docker/login-action@v2 + with: + registry: ghcr.io + username: ${{ github.actor }} + password: ${{ secrets.CI_CD_PAT }} # Personal Access Token with read:packages + + + - name: Pull Docker image + run: docker pull ghcr.io/jmr-dev/android-file-handler-arch-builder:latest + + - name: Run build inside container + run: | + docker run --rm \ + -v ${{ github.workspace }}:/workspace \ + -w /workspace \ + -e DISTRO_TYPE=${{ env.DISTRO_TYPE }} \ + ghcr.io/jmr-dev/android-file-handler-arch-builder:latest \ + bash -c " + echo Running inside container + ls -la + + - name: Build executable run: |