mirror of
https://github.com/suyiiyii/nonebot-bison.git
synced 2025-06-08 12:53:00 +08:00
fix ci
This commit is contained in:
parent
8c3ec58d24
commit
1bf8bc6da6
6
.github/workflows/main.yml
vendored
6
.github/workflows/main.yml
vendored
@ -12,6 +12,7 @@ on:
|
|||||||
- tests/**
|
- tests/**
|
||||||
- pyproject.toml
|
- pyproject.toml
|
||||||
- poetry.lock
|
- poetry.lock
|
||||||
|
- .github/**
|
||||||
pull_request:
|
pull_request:
|
||||||
paths:
|
paths:
|
||||||
- admin-frontend/**
|
- admin-frontend/**
|
||||||
@ -20,6 +21,7 @@ on:
|
|||||||
- tests/**
|
- tests/**
|
||||||
- pyproject.toml
|
- pyproject.toml
|
||||||
- poetry.lock
|
- poetry.lock
|
||||||
|
- .github/**
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
group: ${{ github.workflow }}-${{ github.ref }}
|
group: ${{ github.workflow }}-${{ github.ref }}
|
||||||
@ -122,7 +124,7 @@ jobs:
|
|||||||
context: .
|
context: .
|
||||||
file: ./docker/Dockerfile_with_frontend
|
file: ./docker/Dockerfile_with_frontend
|
||||||
push: true
|
push: true
|
||||||
tags: felinae98/nonebot-bison:${{ env.GITHUB_REF_NAME }}
|
tags: felinae98/nonebot-bison:${GITHUB_REF##*/}
|
||||||
cache-from: type=gha
|
cache-from: type=gha
|
||||||
cache-to: type=gha,mode=max
|
cache-to: type=gha,mode=max
|
||||||
|
|
||||||
@ -159,6 +161,6 @@ jobs:
|
|||||||
context: .
|
context: .
|
||||||
file: ./docker/Dockerfile_with_frontend_sentry
|
file: ./docker/Dockerfile_with_frontend_sentry
|
||||||
push: ${{ github.event_name != 'pull_request' }}
|
push: ${{ github.event_name != 'pull_request' }}
|
||||||
tags: felinae98/nonebot-bison:${{ env.GITHUB_REF_NAME }}-sentry
|
tags: felinae98/nonebot-bison:${GITHUB_REF##*/}-sentry
|
||||||
cache-from: type=gha
|
cache-from: type=gha
|
||||||
cache-to: type=gha,mode=max
|
cache-to: type=gha,mode=max
|
||||||
|
Loading…
x
Reference in New Issue
Block a user