From 52fbc593365dba5717f9f98997632ed1afa20a2b Mon Sep 17 00:00:00 2001 From: John Helmert III Date: Sat, 14 Oct 2023 10:19:48 -0700 Subject: actions: move portage to its own daily job gentoo.git is updated far more than weekly, so only rebuilding weekly makes little sense in this case. Instead, rebuild it daily so that syncing downstream is less necessary. Closes: https://github.com/gentoo/gentoo-docker-images/issues/129 Signed-off-by: John Helmert III --- .github/workflows/build.yml | 1 - .github/workflows/portage.yml | 30 ++++++++++++++++++++++++++++++ 2 files changed, 30 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/portage.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index cb95b19..f65817a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -16,7 +16,6 @@ jobs: matrix: target: - python - - portage - stage3-amd64-hardened-nomultilib-openrc - stage3-amd64-hardened-openrc - stage3-amd64-musl diff --git a/.github/workflows/portage.yml b/.github/workflows/portage.yml new file mode 100644 index 0000000..a305bb8 --- /dev/null +++ b/.github/workflows/portage.yml @@ -0,0 +1,30 @@ +name: portage + +on: + schedule: + - cron: '0 1 * * *' + push: + pull_request: + +env: + ORG: gentoo + +jobs: + portage: + # some boilerplate kept for alignment with build.yml + strategy: + fail-fast: false + matrix: + target: + - portage + name: ${{ matrix.target }} + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v3 + - name: Build ${{ matrix.target }} + uses: ./.github/actions/container_build + with: + target: ${{ matrix.target }} + dockerhub_username: ${{ secrets.DOCKERHUB_USERNAME }} + dockerhub_password: ${{ secrets.DOCKERHUB_PASSWORD }} -- cgit v1.2.3-65-gdbad