Skip to content

WIP: Add sphinxs and themes needed the by the desktop client docs. #389

WIP: Add sphinxs and themes needed the by the desktop client docs.

WIP: Add sphinxs and themes needed the by the desktop client docs. #389

Workflow file for this run

name: Docker Image Build
on:
push:
branches: [ master ]
paths:
- '*/Dockerfile'
pull_request:
branches: [ master ]
paths:
- '*/Dockerfile'
jobs:
files:
runs-on: ubuntu-latest
outputs:
matrix: ${{ steps.dockerfile.outputs.matrix }}
steps:
- name: Checkout repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
fetch-depth: 0
- name: Get changed files
id: files
uses: jitterbit/get-changed-files@b17fbb00bdc0c0f63fcf166580804b4d2cdc2a42 # v1
with:
format: json
- name: Extract Dockerfile files
id: dockerfile
run: |
FILES=$( echo '${{ steps.files.outputs.added_modified }}' | jq -c 'map(select(. | endswith("Dockerfile")))' )
echo "matrix=$FILES" >> "$GITHUB_OUTPUT"
build:
runs-on: ubuntu-latest
needs: files
strategy:
fail-fast: false
matrix:
dockerfile: ${{ fromJSON(needs.files.outputs.matrix) }}
steps:
- name: Checkout repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Build Docker image ${{ matrix.dockerfile }}
run: |
cd "$(dirname ${{ matrix.dockerfile }})"
docker build . --file Dockerfile