Skip to content

ci(docker): add hadolint linting to Docker workflows#122

Merged
eduardofraga merged 6 commits intolatestfrom
feature/lint
Jan 26, 2026
Merged

ci(docker): add hadolint linting to Docker workflows#122
eduardofraga merged 6 commits intolatestfrom
feature/lint

Conversation

@eduardofraga
Copy link
Copy Markdown
Contributor

  • 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
@eduardofraga eduardofraga merged commit f8ee6bc into latest Jan 26, 2026
0 of 3 checks passed
@eduardofraga eduardofraga deleted the feature/lint branch January 26, 2026 20:52
@eduardofraga eduardofraga restored the feature/lint branch January 26, 2026 20:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant