build: allinone打包
This commit is contained in:
parent
bc3b5a3409
commit
af413498fa
42
.github/workflows/build-and-push.yml
vendored
42
.github/workflows/build-and-push.yml
vendored
@ -12,15 +12,20 @@ jobs:
|
|||||||
build-and-push-fit2cloud-registry:
|
build-and-push-fit2cloud-registry:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Maximize build space
|
- name: Check Disk Space
|
||||||
uses: easimon/maximize-build-space@master
|
run: df -h
|
||||||
|
- name: Free Disk Space (Ubuntu)
|
||||||
|
uses: jlumbroso/free-disk-space@main
|
||||||
with:
|
with:
|
||||||
root-reserve-mb: 35840
|
tool-cache: true
|
||||||
remove-dotnet: 'true'
|
android: true
|
||||||
remove-android: 'true'
|
dotnet: true
|
||||||
remove-haskell: 'true'
|
haskell: true
|
||||||
remove-codeql: 'true'
|
large-packages: true
|
||||||
remove-docker-images: 'true'
|
docker-images: true
|
||||||
|
swap-storage: true
|
||||||
|
- name: Check Disk Space
|
||||||
|
run: df -h
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
@ -57,15 +62,20 @@ jobs:
|
|||||||
build-and-push-to-ghcr:
|
build-and-push-to-ghcr:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Maximize build space
|
- name: Check Disk Space
|
||||||
uses: easimon/maximize-build-space@master
|
run: df -h
|
||||||
|
- name: Free Disk Space (Ubuntu)
|
||||||
|
uses: jlumbroso/free-disk-space@main
|
||||||
with:
|
with:
|
||||||
root-reserve-mb: 35840
|
tool-cache: true
|
||||||
remove-dotnet: 'true'
|
android: true
|
||||||
remove-android: 'true'
|
dotnet: true
|
||||||
remove-haskell: 'true'
|
haskell: true
|
||||||
remove-codeql: 'true'
|
large-packages: true
|
||||||
remove-docker-images: 'true'
|
docker-images: true
|
||||||
|
swap-storage: true
|
||||||
|
- name: Check Disk Space
|
||||||
|
run: df -h
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user