Skip to content
Open
Show file tree
Hide file tree
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
5 changes: 4 additions & 1 deletion .github/workflows/build_3.3.0.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,14 @@ on:
branches:
- 'master'
paths:
- '3.3.0/'
- '3.3.0/**'
- '.github/workflows/build_3.3.0.yaml'
- '.github/workflows/main.yml'

jobs:
run-build:
permissions:
packages: write
name: Run
secrets: inherit
uses: ./.github/workflows/main.yml
Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ on:
jobs:
main:
runs-on: ubuntu-latest
permissions:
packages: write
strategy:
matrix:
spark_version:
Expand Down Expand Up @@ -70,7 +72,9 @@ jobs:
- name: Generate tags
run: |
TAG=scala${{ matrix.scala_version }}-java${{ matrix.java_version }}-${{ matrix.image_suffix }}

# The pull_request_target job:
# 1. Use the `apache` in apache repo (push/pr).
# 2. Use the fork repo owner in fork repo PR.
REPO_OWNER=$(echo "${{ github.repository_owner }}" | tr '[:upper:]' '[:lower:]')
TEST_REPO=ghcr.io/$REPO_OWNER/spark-docker
IMAGE_NAME=spark
Expand Down Expand Up @@ -98,7 +102,7 @@ jobs:
with:
context: ${{ env.IMAGE_PATH }}
push: true
tags: ${{ env.TEST_REPO }}:${{ env.UNIQUE_IMAGE_TAG }}
tags: ${{ env.TEST_REPO }}/${{ env.IMAGE_NAME }}:${{ env.UNIQUE_IMAGE_TAG }}
platforms: linux/amd64,linux/arm64

- name: Image digest
Expand Down