Skip to content

Build dockers

Build dockers #1

Workflow file for this run

name: DetectChanges
on:
pull_request:
paths:
- '.github/docker/*.Dockerfile'
push:
paths:
- '.github/docker/*.Dockerfile'
permissions:
contents: read
packages: read
jobs:
DetectChanges:
runs-on: ubuntu-latest
outputs:
changed_files: ${{ steps.changed-files.outputs.all_changed_files }}
steps:

Check failure on line 20 in .github/workflows/detect_changes.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/detect_changes.yml

Invalid workflow file

You have an error in your yaml syntax on line 20
- name: Checkout code
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
fetch-depth: 0
- name: Get changed files
id: changed-files
uses: tj-actions/[email protected]
- name: List all changed files
env:
ALL_CHANGED_FILES: ${{ steps.changed-files.outputs.all_changed_files }}
run: |
echo "Changed files: ${{ steps.changed-files.outputs.all_changed_files }}"
name: Run reusable docker
if: ${{ contains(join(needs.DetectChanges.outputs.changed_files, ' '), '.github/docker/') }}
permissions:
contents: read
packages: write
secrets: inherit
uses: ./.github/workflows/reusable_dockers_build.yml