From 1bf8bc6da63ebe50556e0cb0ca19e952edc08b52 Mon Sep 17 00:00:00 2001 From: felinae98 <731499577@qq.com> Date: Tue, 7 Jun 2022 01:36:31 +0800 Subject: [PATCH] fix ci --- .github/workflows/main.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 7dacc37..3bd2b81 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -12,6 +12,7 @@ on: - tests/** - pyproject.toml - poetry.lock + - .github/** pull_request: paths: - admin-frontend/** @@ -20,6 +21,7 @@ on: - tests/** - pyproject.toml - poetry.lock + - .github/** concurrency: group: ${{ github.workflow }}-${{ github.ref }} @@ -122,7 +124,7 @@ jobs: context: . file: ./docker/Dockerfile_with_frontend push: true - tags: felinae98/nonebot-bison:${{ env.GITHUB_REF_NAME }} + tags: felinae98/nonebot-bison:${GITHUB_REF##*/} cache-from: type=gha cache-to: type=gha,mode=max @@ -159,6 +161,6 @@ jobs: context: . file: ./docker/Dockerfile_with_frontend_sentry 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-to: type=gha,mode=max