Skip to content

Commit

Permalink
ci: add the linting workflow as pre condition for the build job
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristophBe committed Oct 17, 2024
1 parent fb631d8 commit 4427962
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/build-docker.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
name: Create and publish a Docker image
name: Build

on:
push:
branches: ['main']
workflow_run:
workflows:
- Linting
types:
- completed
branches:
- main

env:
REGISTRY: ghcr.io
Expand Down

0 comments on commit 4427962

Please sign in to comment.