aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Helmert III <ajak@gentoo.org>2023-10-14 10:19:48 -0700
committerJohn Helmert III <ajak@gentoo.org>2023-10-14 10:19:48 -0700
commit52fbc593365dba5717f9f98997632ed1afa20a2b (patch)
treeb82d1b3ecd9b60b1a316c0ddf04755d6c57ebad1
parentsplit iamge build steps into dedicated actions file (diff)
downloaddocker-images-52fbc593365dba5717f9f98997632ed1afa20a2b.tar.gz
docker-images-52fbc593365dba5717f9f98997632ed1afa20a2b.tar.bz2
docker-images-52fbc593365dba5717f9f98997632ed1afa20a2b.zip
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@gentoo.org>
-rw-r--r--.github/workflows/build.yml1
-rw-r--r--.github/workflows/portage.yml30
2 files changed, 30 insertions, 1 deletions
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 }}