Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 2c7e0d8641 |
5
.github/workflows/ci.yml
vendored
5
.github/workflows/ci.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user