1
0
mirror of https://github.com/xuthus83/pigallery2.git synced 2025-01-14 14:43:17 +08:00
pigallery2/.github/workflows/dockerfile-hadolint.yml

27 lines
820 B
YAML
Raw Normal View History

# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
# GitHub recommends pinning actions to a commit SHA.
# To get a newer version, you will need to update the SHA.
# You can also reference a tag or branch, but the action may change without warning.
name: Lint Dockerfile
on:
push:
branches:
- '**'
jobs:
dockerfile_linting:
name: Dockerfile linting
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
2024-10-25 23:45:44 +02:00
- name: List Docker directory contents
run: ls -R ./docker
- uses: hadolint/hadolint-action@v3.1.0
with:
2024-10-25 23:47:48 +02:00
dockerfile: ./docker/alpine/Dockerfile.build
config: ./docker/.config/hadolint.yml