feat: fixed pipeline

This commit is contained in:
2024-11-24 15:53:18 +01:00
parent 3977e3add9
commit 2c7e0d8641

View File

@@ -12,6 +12,9 @@ on:
- "**/CHANGELOG.md"
- "**/docs/**"
workflow_dispatch:
pull_request:
branches:
- dev
env:
REGISTRY: ghcr.io
@@ -51,6 +54,7 @@ jobs:
tag:
needs: test
if: github.event_name == 'push'
runs-on: ubuntu-latest
permissions:
contents: write # for the tags
@@ -86,6 +90,7 @@ jobs:
run: git push origin ${{ steps.git_version.outputs.version }}
build_and_push:
if: github.event_name == 'push'
runs-on: ubuntu-latest
permissions: write-all
needs: tag