You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by ru...@apache.org on 2024/10/18 06:17:07 UTC
(spark) branch master updated: [SPARK-50011][INFRA][FOLLOW-UP] Refresh the image cache job
This is an automated email from the ASF dual-hosted git repository.
ruifengz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/spark.git
The following commit(s) were added to refs/heads/master by this push:
new 2724909656fe [SPARK-50011][INFRA][FOLLOW-UP] Refresh the image cache job
2724909656fe is described below
commit 2724909656fe5cebe1850f0fd81e32a998eed07e
Author: Ruifeng Zheng <ru...@apache.org>
AuthorDate: Fri Oct 18 14:16:42 2024 +0800
[SPARK-50011][INFRA][FOLLOW-UP] Refresh the image cache job
### What changes were proposed in this pull request?
Refresh the image cache job
### Why are the changes needed?
this job has been broken: https://github.com/apache/spark/actions/runs/11387123331/job/31682246504
### Does this PR introduce _any_ user-facing change?
no, infra-only
### How was this patch tested?
ci
### Was this patch authored or co-authored using generative AI tooling?
no
Closes #48533 from zhengruifeng/infra_build_cache.
Authored-by: Ruifeng Zheng <ru...@apache.org>
Signed-off-by: Ruifeng Zheng <ru...@apache.org>
---
.github/workflows/build_infra_images_cache.yml | 16 ++++++++++++++--
1 file changed, 14 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/build_infra_images_cache.yml b/.github/workflows/build_infra_images_cache.yml
index 18419334836b..18e1e43f36c7 100644
--- a/.github/workflows/build_infra_images_cache.yml
+++ b/.github/workflows/build_infra_images_cache.yml
@@ -26,7 +26,8 @@ on:
- 'master'
- 'branch-*'
paths:
- - 'dev/infra/Dockerfile'
+ - 'dev/infra/base/Dockerfile'
+ - 'dev/infra/docs/Dockerfile'
- '.github/workflows/build_infra_images_cache.yml'
# Create infra image when cutting down branches/tags
create:
@@ -53,10 +54,21 @@ jobs:
id: docker_build
uses: docker/build-push-action@v6
with:
- context: ./dev/infra/
+ context: ./dev/infra/base/
push: true
tags: ghcr.io/apache/spark/apache-spark-github-action-image-cache:${{ github.ref_name }}-static
cache-from: type=registry,ref=ghcr.io/apache/spark/apache-spark-github-action-image-cache:${{ github.ref_name }}
cache-to: type=registry,ref=ghcr.io/apache/spark/apache-spark-github-action-image-cache:${{ github.ref_name }},mode=max
- name: Image digest
run: echo ${{ steps.docker_build.outputs.digest }}
+ - name: Build and push (Documentation)
+ id: docker_build_docs
+ uses: docker/build-push-action@v6
+ with:
+ context: ./dev/infra/docs/
+ push: true
+ tags: ghcr.io/apache/spark/apache-spark-github-action-image-docs-cache:${{ github.ref_name }}-static
+ cache-from: type=registry,ref=ghcr.io/apache/spark/apache-spark-github-action-image-docs-cache:${{ github.ref_name }}
+ cache-to: type=registry,ref=ghcr.io/apache/spark/apache-spark-github-action-image-docs-cache:${{ github.ref_name }},mode=max
+ - name: Image digest (Documentation)
+ run: echo ${{ steps.docker_build_docs.outputs.digest }}
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org