[TASK] lint fixes t3kit12 image build #91
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Code Guidelines | |
# https://github.com/t3kit/.github/blob/master/CONTRIBUTING.md#coding-rules | |
on: [push, pull_request] | |
jobs: | |
build: | |
name: Lint code | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Lint shell scripts with Shellcheck | |
run: docker run --rm -v "$PWD:/mnt" koalaman/shellcheck-alpine:stable find /mnt -type f -name '*.sh' -exec shellcheck '{}' + | |
- name: EditorConfig check | |
run: npx editorconfig-checker | |
- name: Lint <nproxy> Dockerfile (hadolint) | |
run: docker run -i --rm hadolint/hadolint < nproxy/Dockerfile | |
- name: Lint <mkcert> Dockerfile (hadolint) | |
run: docker run -i --rm hadolint/hadolint < mkcert/Dockerfile | |
# t3kit10 | |
- name: Lint <t3kit10-php7.4-fpm-nginx-buster> Dockerfile (hadolint) | |
run: docker run -i --rm hadolint/hadolint < t3kit10/php7.4-fpm-nginx-buster/Dockerfile | |
# t3kit11 | |
- name: Lint <t3kit11-php8-fpm-nginx-buster> Dockerfile (hadolint) | |
run: docker run -i --rm hadolint/hadolint < t3kit11/php8-fpm-nginx-buster/Dockerfile | |
# t3kit12 - docker build -t t3kit/12-php8-fpm-nginx-bookworm:1.0.0 . | |
- name: Lint <t3kit12-php8-fpm-nginx-bookworm> Dockerfile (hadolint) | |
run: docker run -i --rm hadolint/hadolint < t3kit12/php8-fpm-nginx-bookworm/Dockerfile |