mirror of
https://github.com/embedd-actions/nrf-connect-sdk-ci.git
synced 2025-12-15 12:20:21 +03:00
Update image_publishing.yml
This commit is contained in:
20
.github/workflows/image_publishing.yml
vendored
20
.github/workflows/image_publishing.yml
vendored
@@ -13,6 +13,19 @@ jobs:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Free disk space
|
||||
run: |
|
||||
echo "Initial disk usage:"
|
||||
df -h
|
||||
|
||||
sudo rm -rf /usr/share/dotnet
|
||||
sudo rm -rf /usr/local/lib/android
|
||||
sudo rm -rf /opt/ghc
|
||||
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
|
||||
|
||||
echo "After cleanup:"
|
||||
df -h
|
||||
|
||||
|
||||
- name: Docker meta
|
||||
id: meta
|
||||
@@ -40,3 +53,10 @@ jobs:
|
||||
push: true
|
||||
tags: ${{ steps.meta.outputs.tags }}
|
||||
platforms: linux/amd64,linux/arm64
|
||||
no-cache: true
|
||||
|
||||
- name: Cleanup Docker
|
||||
if: always()
|
||||
run: |
|
||||
docker system prune -af || true
|
||||
df -h
|
||||
|
||||
Reference in New Issue
Block a user