Skip to content

Commit

Permalink
Merge pull request #5 from frankdev/feature/php-lint-workflow
Browse files Browse the repository at this point in the history
Added build-and-publish workflow
  • Loading branch information
fbarrento committed Jan 8, 2024
2 parents 58db1e2 + eef2e89 commit 52a86a6
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/build-and-publish.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
name: Build and Publish Docker Image
on:
push:
paths:
- ".github/**"
- "src/**"
branches:
- main
workflow_run:
workflows:
- Lint, Analyse and Test
types:
- completed


env:
REGISTRY: ghcr.io
Expand All @@ -14,6 +14,7 @@ env:
jobs:
build-and-push-image:
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'success' }}
permissions:
contents: read
packages: write
Expand Down

0 comments on commit 52a86a6

Please sign in to comment.