diff options
author | 2023-10-14 10:19:48 -0700 | |
---|---|---|
committer | 2023-10-14 10:19:48 -0700 | |
commit | 52fbc593365dba5717f9f98997632ed1afa20a2b (patch) | |
tree | b82d1b3ecd9b60b1a316c0ddf04755d6c57ebad1 | |
parent | split iamge build steps into dedicated actions file (diff) | |
download | docker-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.yml | 1 | ||||
-rw-r--r-- | .github/workflows/portage.yml | 30 |
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 }} |