Skip to content

Commit

Permalink
Improve CI workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
andyone committed Oct 26, 2023
1 parent d1c5fb0 commit b8a07eb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/perfecto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

jobs:
Perfecto:
name: Perfecto (${{inputs.image}})
name: Perfecto (${{github.event.inputs.image}})
runs-on: ubuntu-latest

steps:
Expand All @@ -24,7 +24,7 @@ jobs:
password: ${{ secrets.GITHUB_TOKEN }}

- name: Run Perfecto docker image
uses: docker://ghcr.io/essentialkaos/perfecto:${{inputs.image}}
uses: docker://ghcr.io/essentialkaos/perfecto:${{github.event.inputs.image}}
with:
args: --version

Expand All @@ -35,5 +35,5 @@ jobs:
- name: Run Perfecto check
env:
IMAGE: ghcr.io/essentialkaos/perfecto:${{inputs.image}}
IMAGE: ghcr.io/essentialkaos/perfecto:${{github.event.inputs.image}}
run: ./perfecto-container -A PF20 $(git diff --name-status origin/master | tr '\t' ' ' | grep -Ev '(^D| tests/)' | grep '\.spec' | rev | cut -f1 -d' ' | rev | sort)

0 comments on commit b8a07eb

Please sign in to comment.