Skip to content

Commit 3a1802a

Browse files
authored
chore: docker no space left on device (apache#1425)
* update WF
1 parent d61bcfc commit 3a1802a

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/docker-publish.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ on:
2727
- '*.*.*'
2828
- '*.*.*-rc*'
2929
- 'test-docker-publish-*'
30+
branches:
31+
- 'fix_docker'
3032

3133
jobs:
3234
docker:
@@ -41,6 +43,7 @@ jobs:
4143
with:
4244
java-version: '17'
4345
distribution: 'temurin'
46+
cache: 'maven'
4447
- name: Extract Comet version
4548
id: extract_version
4649
run: |
@@ -56,10 +59,14 @@ jobs:
5659
registry: ghcr.io
5760
username: ${{ github.actor }}
5861
password: ${{ secrets.GITHUB_TOKEN }}
62+
- name: Check Disk Space
63+
run: df -h
5964
- name: Build and push
6065
uses: docker/build-push-action@v6
6166
with:
6267
platforms: linux/amd64,linux/arm64
6368
push: true
6469
tags: ghcr.io/apache/datafusion-comet:spark-3.4-scala-2.12-${{ env.COMET_VERSION }}
6570
file: kube/Dockerfile
71+
build-args: "--progress=plain"
72+
no-cache: true

0 commit comments

Comments
 (0)