This commit is contained in:
@ -2,13 +2,10 @@ on:
|
|||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
tags:
|
|
||||||
- "v*"
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: ${{ !startsWith(gitea.ref, 'refs/tags/v') }}
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
@ -25,8 +22,4 @@ jobs:
|
|||||||
- uses: https://gitea.okami101.io/okami101/actions/docker@main
|
- uses: https://gitea.okami101.io/okami101/actions/docker@main
|
||||||
with:
|
with:
|
||||||
password: ${{ secrets.CONTAINER_REGISTRY_PASSWORD }}
|
password: ${{ secrets.CONTAINER_REGISTRY_PASSWORD }}
|
||||||
|
release: true
|
||||||
deploy:
|
|
||||||
uses: https://gitea.okami101.io/okami101/actions/.gitea/workflows/release.yaml@main
|
|
||||||
secrets:
|
|
||||||
password: ${{ secrets.CONTAINER_REGISTRY_PASSWORD }}
|
|
||||||
|
Reference in New Issue
Block a user