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"
|
- "**/CHANGELOG.md"
|
||||||
- "**/docs/**"
|
- "**/docs/**"
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
pull_request:
|
||||||
|
branches:
|
||||||
|
- dev
|
||||||
|
|
||||||
env:
|
env:
|
||||||
REGISTRY: ghcr.io
|
REGISTRY: ghcr.io
|
||||||
@@ -51,6 +54,7 @@ jobs:
|
|||||||
|
|
||||||
tag:
|
tag:
|
||||||
needs: test
|
needs: test
|
||||||
|
if: github.event_name == 'push'
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
permissions:
|
permissions:
|
||||||
contents: write # for the tags
|
contents: write # for the tags
|
||||||
@@ -86,6 +90,7 @@ jobs:
|
|||||||
run: git push origin ${{ steps.git_version.outputs.version }}
|
run: git push origin ${{ steps.git_version.outputs.version }}
|
||||||
|
|
||||||
build_and_push:
|
build_and_push:
|
||||||
|
if: github.event_name == 'push'
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
permissions: write-all
|
permissions: write-all
|
||||||
needs: tag
|
needs: tag
|
||||||
|
|||||||
Reference in New Issue
Block a user