Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions .github/workflows/build_infra_images_cache.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
name: Build / Cache base image

on:
pull_request:
push:
branches:
- 'master'
Expand All @@ -28,7 +29,7 @@ on:
- '.github/workflows/build_infra_images_cache.yml'
jobs:
main:
if: github.repository == 'apache/spark'
if: github.repository == 'yikun/spark'
runs-on: ubuntu-latest
steps:
- name: Checkout Spark repository
Expand All @@ -49,8 +50,8 @@ jobs:
with:
context: ./dev/infra/
push: true
tags: ghcr.io/apache/spark/apache-spark-github-action-image-cache:${{ github.ref_name }}
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
tags: ghcr.io/yikun/apache-spark-github-action-image-cache:master-static
cache-from: type=registry,ref=ghcr.io/apache/spark/apache-spark-github-action-image-cache:master
cache-to: type=registry,ref=ghcr.io/yikun/apache-spark-github-action-image-cache:master,mode=max
- name: Image digest
run: echo ${{ steps.docker_build.outputs.digest }}