ci(docker): add hadolint linting to Docker workflows#122
Merged
eduardofraga merged 6 commits intolatestfrom Jan 26, 2026
Merged
ci(docker): add hadolint linting to Docker workflows#122eduardofraga merged 6 commits intolatestfrom
eduardofraga merged 6 commits intolatestfrom
Conversation
Contributor
eduardofraga
commented
Jan 26, 2026
- Add hadolint-action@v3.1.0 to docker-publish-base.yml workflow
- Add hadolint-action@v3.1.0 to docker-publish-nginx.yml workflow
- Add hadolint-action@v3.1.0 to docker-publish-php-fpm.yml workflow
- Lint docker/php/Dockerfile.base in base image workflow
- Lint docker/nginx/Dockerfile in nginx image workflow
- Lint docker/php/Dockerfile in php-fpm image workflow
- Ensure Dockerfile best practices and consistency across all Docker builds
- Add hadolint-action@v3.1.0 to docker-publish-base.yml workflow - Add hadolint-action@v3.1.0 to docker-publish-nginx.yml workflow - Add hadolint-action@v3.1.0 to docker-publish-php-fpm.yml workflow - Lint docker/php/Dockerfile.base in base image workflow - Lint docker/nginx/Dockerfile in nginx image workflow - Lint docker/php/Dockerfile in php-fpm image workflow - Ensure Dockerfile best practices and consistency across all Docker builds
- Update docker-publish-base.yml to use ./docker/php/Dockerfile.base - Update docker-publish-nginx.yml to use ./docker/nginx/Dockerfile - Update docker-publish-php-fpm.yml to use ./docker/php/Dockerfile - Ensure consistent relative path formatting across all Docker workflows
- Extract hadolint linting into dedicated lint jobs for each workflow - Add job dependencies to ensure lint passes before build jobs execute - Move hadolint action from build-php-fpm step to separate lint job in docker-publish-base.yml - Move hadolint action from build-nginx step to separate lint job in docker-publish-nginx.yml - Move hadolint action from build-php-fpm step to separate lint job in docker-publish-php-fpm.yml - Normalize dockerfile configuration format across all workflows - Improves workflow clarity by separating linting concerns from build logic
- Rename .github/dependabot.yml to .github/dependabot.yaml - Rename .github/workflows/docker-publish-base.yml to docker-publish-base.yaml - Rename .github/workflows/docker-publish-nginx.yml to docker-publish-nginx.yaml - Rename .github/workflows/docker-publish-php-fpm.yml to docker-publish-php-fpm.yaml - Rename .github/workflows/helm-publish.yml to helm-publish.yaml - Standardize file extensions across GitHub configuration for consistency
- Remove hadolint-action from docker-publish-nginx.yaml workflow - Remove hadolint-action from docker-publish-php-fpm.yaml workflow - Remove extra blank line in docker-publish-base.yaml for consistency - Hadolint linting is now handled in separate dedicated jobs as per previous refactoring
- Update hadolint configuration to use single dockerfile path instead of array - Change dockerfile reference from ./docker/php/Dockerfile.base to ./docker/php/Dockerfile - Simplify workflow configuration for improved readability and maintainability
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.