Skip to content

Commit

Permalink
Added build-and-publish workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
fbarrento committed Jan 8, 2024
1 parent fdce658 commit eef2e89
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 eef2e89

Please sign in to comment.