From b21076d14fb88d7e3b7737cfc72c47cf68cdadbf Mon Sep 17 00:00:00 2001 From: Alberto Ponces Date: Fri, 1 Nov 2024 22:28:24 +0000 Subject: [PATCH] chore(build): move private repo to manifest --- .github/workflows/build.yml | 9 +-------- .github/workflows/release.yml | 9 +-------- build/default.xml | 2 ++ 3 files changed, 4 insertions(+), 16 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index be7544d9..59b3df97 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -32,21 +32,14 @@ jobs: - name: Build Image run: docker build -f build/Dockerfile -t ponces/treble . - - name: Get Keys - uses: actions/checkout@v4 - with: - repository: ponces/vendor_ponces-priv - token: ${{ secrets.GH_TOKEN }} - path: vendor_ponces-priv - - name: Build ROM run: | mkdir builds docker run --rm \ --privileged \ --name test \ + --volume /root/.ssh:/root/.ssh \ --volume ${{ github.workspace }}/builds:/root/builds \ - --volume ${{ github.workspace }}/vendor_ponces-priv:/aosp/vendor/ponces-priv \ ponces/treble treblebuild ${{ env.BUILD_VARIANT }} - name: Upload ROM diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 344babbb..7ba9de5e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -25,21 +25,14 @@ jobs: - name: Build Image run: docker build -f build/Dockerfile -t ponces/treble . - - name: Get Keys - uses: actions/checkout@v4 - with: - repository: ponces/vendor_ponces-priv - token: ${{ secrets.GH_TOKEN }} - path: vendor_ponces-priv - - name: Build ROM run: | mkdir builds docker run --rm \ --privileged \ --name treble \ + --volume /root/.ssh:/root/.ssh \ --volume ${{ github.workspace }}/builds:/root/builds \ - --volume ${{ github.workspace }}/vendor_ponces-priv:/aosp/vendor/ponces-priv \ --volume ${{ github.workspace }}/config/ota.json:/aosp/treble_aosp/config/ota.json \ ponces/treble treblebuild diff --git a/build/default.xml b/build/default.xml index 5b434710..4e29ab9f 100644 --- a/build/default.xml +++ b/build/default.xml @@ -2,6 +2,7 @@ + @@ -18,6 +19,7 @@ +