build: change action.
This commit is contained in:
parent
b24f4c9e44
commit
6e426426c3
26
.github/workflows/build-and-push.yml
vendored
26
.github/workflows/build-and-push.yml
vendored
@ -38,6 +38,19 @@ jobs:
|
|||||||
if: ${{ contains(github.event.inputs.registry, 'fit2cloud') }}
|
if: ${{ contains(github.event.inputs.registry, 'fit2cloud') }}
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
- name: Check Disk Space
|
||||||
|
run: df -h
|
||||||
|
- name: Free Disk Space (Ubuntu)
|
||||||
|
if: ${{ contains(github.event.inputs.architecture, ',') }}
|
||||||
|
uses: jlumbroso/free-disk-space@main
|
||||||
|
with:
|
||||||
|
tool-cache: true
|
||||||
|
android: true
|
||||||
|
dotnet: true
|
||||||
|
haskell: true
|
||||||
|
large-packages: true
|
||||||
|
docker-images: false
|
||||||
|
swap-storage: false
|
||||||
- name: Check Disk Space
|
- name: Check Disk Space
|
||||||
run: df -h
|
run: df -h
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
@ -86,6 +99,19 @@ jobs:
|
|||||||
if: ${{ contains(github.event.inputs.registry, 'dockerhub') }}
|
if: ${{ contains(github.event.inputs.registry, 'dockerhub') }}
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
- name: Check Disk Space
|
||||||
|
run: df -h
|
||||||
|
- name: Free Disk Space (Ubuntu)
|
||||||
|
if: ${{ contains(github.event.inputs.architecture, ',') }}
|
||||||
|
uses: jlumbroso/free-disk-space@main
|
||||||
|
with:
|
||||||
|
tool-cache: true
|
||||||
|
android: true
|
||||||
|
dotnet: true
|
||||||
|
haskell: true
|
||||||
|
large-packages: true
|
||||||
|
docker-images: false
|
||||||
|
swap-storage: false
|
||||||
- name: Check Disk Space
|
- name: Check Disk Space
|
||||||
run: df -h
|
run: df -h
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user