Skip to content

.github/workflows/merge.yml #42

.github/workflows/merge.yml

.github/workflows/merge.yml #42

Workflow file for this run

# Candace Savonen May 2022
name: Pull Request
on:
push:
branches: [ main ]
jobs:
dockerfile-check:
name: Detect changed Dockerfile - ${{ matrix.config.dir }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
config:
- {dir: base_ottr, name: 'jhudsl/base_ottr'}
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Get specific changed files
id: image_name
uses: tj-actions/[email protected]
with:
files: ${{ matrix.config.dir }}/*
- run: |
echo ${{steps.image_name.outputs.any_changed}}
outputs:

Check failure on line 36 in .github/workflows/merge.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/merge.yml

Invalid workflow file

You have an error in your yaml syntax on line 36
image_name_changed: ${{steps.image_name.outputs.any_changed}}
- name: Get specific changed files
if: ${{needs.dockerfiles-changed.outputs.image_name_changed == 'true'}}
uses: ./.github/workflows/docker-test.yml
with:
tag: ${{ matrix.config.name }}
dockerhubpush: true
secrets:
GH_PAT: ${{ secrets.GH_PAT }}
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}