Skip to content

Spark Docker Image CI #5

Spark Docker Image CI

Spark Docker Image CI #5

Workflow file for this run

name: Spark Docker Image CI
on:
workflow_dispatch:
push:
branches: [ "master" ]
paths:
- ./docker/spark/**
pull_request:
branches: [ "master" ]
paths:
- ./docker/spark/**
jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
working-directory: './docker/spark/'
steps:
- uses: actions/checkout@v4
- name: 'Login to GitHub Container Registry'
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{github.actor}}
password: ${{secrets.REGISTRY_TOKEN}}
- name: Build the Spark Image
run: |
docker build . --file Dockerfile --tag ghcr.io/fxttr/spark:latest
docker push ghcr.io/fxttr/spark:latest