You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datafusion.apache.org by co...@apache.org on 2025/02/25 15:42:24 UTC
(datafusion-comet) branch main updated: chore: fixes for kube build (#1421)
This is an automated email from the ASF dual-hosted git repository.
comphead pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/datafusion-comet.git
The following commit(s) were added to refs/heads/main by this push:
new 3e9ffc942 chore: fixes for kube build (#1421)
3e9ffc942 is described below
commit 3e9ffc9429a0c5d332e9e3304f4f480bb60b5944
Author: Oleks V <co...@users.noreply.github.com>
AuthorDate: Tue Feb 25 07:42:19 2025 -0800
chore: fixes for kube build (#1421)
* remove unnecessary files in container
---
.github/workflows/docker-publish.yml | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml
index 70b452987..6f6e202c1 100644
--- a/.github/workflows/docker-publish.yml
+++ b/.github/workflows/docker-publish.yml
@@ -36,6 +36,17 @@ jobs:
contents: read
packages: write
steps:
+ - name: Remove unnecessary files
+ run: |
+ echo "Disk space before cleanup:"
+ df -h
+ docker system prune -af
+ sudo rm -rf /tmp/*
+ sudo rm -rf /opt/hostedtoolcache
+ sudo rm -rf "$AGENT_TOOLSDIRECTORY"
+ sudo apt-get clean
+ echo "Disk space after cleanup:"
+ df -h
- name: Set up Java
uses: actions/setup-java@v3
with:
@@ -63,3 +74,4 @@ jobs:
push: true
tags: ghcr.io/apache/datafusion-comet:spark-3.4-scala-2.12-${{ env.COMET_VERSION }}
file: kube/Dockerfile
+ no-cache: true
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datafusion.apache.org
For additional commands, e-mail: commits-help@datafusion.apache.org