Skip to content
This repository was archived by the owner on Apr 5, 2026. It is now read-only.

Build Docker Images Regularly #97

Build Docker Images Regularly

Build Docker Images Regularly #97

name: Build Docker Images Regularly
on:
schedule:
- cron: '0 9 13 * *'
jobs:
build_docker_images_regularly:
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
contents: write
steps:
- uses: actions/checkout@v5
with:
ref: refs/heads/main
- name: Login to DockerHub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Install uv
run: |
curl -LsSf https://astral.sh/uv/install.sh | sudo env UV_INSTALL_DIR="/usr/local/bin" sh
which uv
- name: Store Docker Images on /mnt/docker
run: |
sudo ./config_docker.py
- name: Show Docker Images Before Building
run: |
docker images
- name: Build Docker Images
run: |
./build_images.py --branch "" --repo "" --root-image-name ""
- name: Show Building Graph
run: |
cat graph.yaml
- name: Show Docker Images After Building
run: |
docker images
- name: Set Environment Variable
run: echo "TODAY=$(date +'%Y-%m-%d')" >> $GITHUB_ENV
- uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: ${{ secrets.GITHUBACTIONS }}
prerelease: false
automatic_release_tag: build_${{ env.TODAY }}
files: |
*.yaml