mirror of
https://github.com/stellarshenson/stellars-jupyterhub-ds.git
synced 2026-03-07 13:40:28 +00:00
- Remove tag-based trigger constraint from GitHub Actions workflow - Workflow now triggers only on push to main, PRs, and manual dispatch - Simplifies workflow triggers and removes version-specific pattern
28 lines
635 B
YAML
28 lines
635 B
YAML
name: Validate Dockerfile
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
pull_request:
|
|
branches:
|
|
- main
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
validate:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Lint Dockerfile with hadolint
|
|
uses: hadolint/hadolint-action@v3.1.0
|
|
with:
|
|
dockerfile: services/jupyterhub/Dockerfile.jupyterhub
|
|
ignore: DL3008,DL3013,DL3015,DL3059,DL3027,DL4006,SC2006,SC1008,DL3046,SC2153,DL3001,SC2016,SC2002
|
|
|
|
- name: Validation completed
|
|
run: echo "Dockerfile validation completed successfully"
|