mirror of
https://git.tt-rss.org/fox/tt-rss.git
synced 2026-04-12 20:41:44 +02:00
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 6 to 7. - [Release notes](https://github.com/docker/build-push-action/releases) - [Commits](https://github.com/docker/build-push-action/compare/v6...v7) --- updated-dependencies: - dependency-name: docker/build-push-action dependency-version: '7' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
40 lines
789 B
YAML
40 lines
789 B
YAML
name: Docker Code Quality
|
|
|
|
on:
|
|
pull_request:
|
|
paths:
|
|
- '.docker/**'
|
|
# Allow manual triggering
|
|
workflow_dispatch:
|
|
# Allow other workflows (e.g. Publish) to invoke this one.
|
|
workflow_call:
|
|
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
|
|
jobs:
|
|
check:
|
|
name: Check Docker image ${{ matrix.image.name }}
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
image:
|
|
- name: app
|
|
dockerfile: ./.docker/app/Dockerfile
|
|
- name: web-nginx
|
|
dockerfile: ./.docker/web-nginx/Dockerfile
|
|
|
|
steps:
|
|
- name: Check out code
|
|
uses: actions/checkout@v6
|
|
|
|
- name: Validate configuration
|
|
uses: docker/build-push-action@v7
|
|
with:
|
|
context: .
|
|
file: ${{ matrix.image.dockerfile }}
|
|
call: check
|