Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 12 additions & 11 deletions .github/workflows/build_images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,9 @@ jobs:
build_docker_images:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v5
with:
ref: refs/heads/main
#- name: Free Disk Space
# run: |
# ./free_disk_space.sh
- name: Store Docker Images on /mnt/docker
run: |
sudo ./config_docker.py
- name: Login to DockerHub
uses: docker/login-action@v3
with:
Expand All @@ -36,11 +30,18 @@ jobs:
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
run: |
docker images
- name: Build Docker Images
run: |
#df -lh
#docker ps
./build_images.py --branch '${{ github.event.inputs.branch }}' --repo '${{ github.event.inputs.repo }}' --root-image-name '${{ github.event.inputs.root_image_name }}'
- name: Show Building Graph
run: |
cat graph.yaml
#docker ps
#df -lh
- name: Show Docker Images
run: |
docker images
8 changes: 7 additions & 1 deletion config_docker.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
#!/usr/bin/env python3
#!/usr/bin/env -S uv run
#
# /// script
# requires-python = "==3.13"
# dependencies = []
# ///

import json
from pathlib import Path
import subprocess as sp
Expand Down
Loading