File tree Expand file tree Collapse file tree 3 files changed +22
-12
lines changed
Expand file tree Collapse file tree 3 files changed +22
-12
lines changed Original file line number Diff line number Diff line change 3333 - name : Store Docker Images on /mnt/docker
3434 run : |
3535 sudo ./config_docker.py
36- - name : Show Docker Images
36+ - name : Show Docker Images Before Building
3737 run : |
3838 docker images
3939 - name : Build Docker Images
4242 --branch '${{ github.event.inputs.branch }}' \
4343 --repo '${{ github.event.inputs.repo }}' \
4444 --root-image-name '${{ github.event.inputs.root_image_name }}'
45- - name : Show Building Graph
45+ - name : Show Building Graph After Building
4646 run : |
4747 cat graph.yaml
4848 - name : Show Docker Images
Original file line number Diff line number Diff line change 44 - cron : ' 0 9 13 * *'
55jobs :
66 build_docker_images_regularly :
7- runs-on : [self-hosted]
7+ runs-on : ubuntu-latest
88 permissions :
99 issues : write
1010 pull-requests : write
1111 contents : write
1212 steps :
13- - uses : actions/checkout@v3
13+ - uses : actions/checkout@v5
1414 with :
1515 ref : refs/heads/main
16- - name : Free Disk Space
17- run : |
18- ./free_disk_space.sh
1916 - name : Login to DockerHub
2017 uses : docker/login-action@v3
2118 with :
2219 username : ${{ secrets.DOCKERHUB_USERNAME }}
2320 password : ${{ secrets.DOCKERHUB_TOKEN }}
24- - name : Build Docker Images Regularly
21+ - name : Install uv
22+ run : |
23+ curl -LsSf https://astral.sh/uv/install.sh | sudo env UV_INSTALL_DIR="/usr/local/bin" sh
24+ which uv
25+ - name : Store Docker Images on /mnt/docker
26+ run : |
27+ sudo ./config_docker.py
28+ - name : Show Docker Images Before Building
29+ run : |
30+ docker images
31+ - name : Build Docker Images
32+ run : |
33+ ./build_images.py --branch "" --repo "" --root-image-name ""
34+ - name : Show Building Graph
2535 run : |
26- df -lh
27- ./build_images.py --branch "" --repo "" --root-image-name "" --remove-images
2836 cat graph.yaml
29- df -lh
37+ - name : Show Docker Images After Building
38+ run : |
39+ docker images
3040 - name : Set Environment Variable
3141 run : echo "TODAY=$(date +'%Y-%m-%d')" >> $GITHUB_ENV
3242 - uses : " marvinpinto/action-automatic-releases@latest"
Original file line number Diff line number Diff line change 77 create_pull_request :
88 runs-on : ubuntu-latest
99 steps :
10- - uses : actions/checkout@v3
10+ - uses : actions/checkout@v5
1111 with :
1212 ref : main
1313 - name : Reset main branch with dev changes
You can’t perform that action at this time.
0 commit comments