Skip to content

Commit

Permalink
Revert "[SPARK-50011][INFRA][FOLLOW-UP] Refresh the image cache job"
Browse files Browse the repository at this point in the history
This reverts commit 2724909.
  • Loading branch information
dongjoon-hyun committed Oct 18, 2024
1 parent 9d0e31d commit aaecab3
Showing 1 changed file with 2 additions and 14 deletions.
16 changes: 2 additions & 14 deletions .github/workflows/build_infra_images_cache.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@ on:
- 'master'
- 'branch-*'
paths:
- 'dev/infra/base/Dockerfile'
- 'dev/infra/docs/Dockerfile'
- 'dev/infra/Dockerfile'
- '.github/workflows/build_infra_images_cache.yml'
# Create infra image when cutting down branches/tags
create:
Expand All @@ -54,21 +53,10 @@ jobs:
id: docker_build
uses: docker/build-push-action@v6
with:
context: ./dev/infra/base/
context: ./dev/infra/
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 }}

0 comments on commit aaecab3

Please sign in to comment.