Skip to content

tests: add unit tests #37

tests: add unit tests

tests: add unit tests #37

name: Build Container Check
on:
pull_request:
branches:
- main
push:
paths:
- 'Dockerfile'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Cache Docker layers
uses: actions/cache@v2
with:
path: /tmp/.buildx-cache
key: ${{ runner.os }}-buildx-${{ github.sha }}
restore-keys: |
${{ runner.os }}-buildx-
- name: Build Docker image
run: docker build -t auto-register-spark-ui-k8s:latest .