commit: 52fbc593365dba5717f9f98997632ed1afa20a2b Author: John Helmert III <ajak <AT> gentoo <DOT> org> AuthorDate: Sat Oct 14 17:19:48 2023 +0000 Commit: John Helmert III <ajak <AT> gentoo <DOT> org> CommitDate: Sat Oct 14 17:19:48 2023 +0000 URL: https://gitweb.gentoo.org/proj/docker-images.git/commit/?id=52fbc593
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 <ajak <AT> gentoo.org> .github/workflows/build.yml | 1 - .github/workflows/portage.yml | 30 ++++++++++++++++++++++++++++++ 2 files changed, 30 insertions(+), 1 deletion(-) 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 }}
