Skip to content

Commit 6a15cc9

Browse files
authored
Merge pull request #45 from legendu-net/dev
Merge dev into main
2 parents 68b2b1d + 1c312b4 commit 6a15cc9

File tree

2 files changed

+19
-12
lines changed

2 files changed

+19
-12
lines changed

.github/workflows/build_images.yml

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,9 @@ jobs:
1818
build_docker_images:
1919
runs-on: ubuntu-latest
2020
steps:
21-
- uses: actions/checkout@v3
21+
- uses: actions/checkout@v5
2222
with:
2323
ref: refs/heads/main
24-
#- name: Free Disk Space
25-
# run: |
26-
# ./free_disk_space.sh
27-
- name: Store Docker Images on /mnt/docker
28-
run: |
29-
sudo ./config_docker.py
3024
- name: Login to DockerHub
3125
uses: docker/login-action@v3
3226
with:
@@ -36,11 +30,18 @@ jobs:
3630
run: |
3731
curl -LsSf https://astral.sh/uv/install.sh | sudo env UV_INSTALL_DIR="/usr/local/bin" sh
3832
which uv
33+
- name: Store Docker Images on /mnt/docker
34+
run: |
35+
sudo ./config_docker.py
36+
- name: Show Docker Images
37+
run: |
38+
docker images
3939
- name: Build Docker Images
4040
run: |
41-
#df -lh
42-
#docker ps
4341
./build_images.py --branch '${{ github.event.inputs.branch }}' --repo '${{ github.event.inputs.repo }}' --root-image-name '${{ github.event.inputs.root_image_name }}'
42+
- name: Show Building Graph
43+
run: |
4444
cat graph.yaml
45-
#docker ps
46-
#df -lh
45+
- name: Show Docker Images
46+
run: |
47+
docker images

config_docker.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
1-
#!/usr/bin/env python3
1+
#!/usr/bin/env -S uv run
2+
#
3+
# /// script
4+
# requires-python = "==3.13"
5+
# dependencies = []
6+
# ///
7+
28
import json
39
from pathlib import Path
410
import subprocess as sp

0 commit comments

Comments
 (0)