修改校验方式
Some checks failed
Build and Push Docker Images / build-and-push (frontend) (push) Has been cancelled
Build and Push Docker Images / build-and-push (backend) (push) Failing after 1m2s

This commit is contained in:
小贺
2025-09-03 19:24:07 +08:00
parent f0e4249312
commit 6f433aebe0

View File

@@ -2,10 +2,10 @@ name: Build and Push Docker Images
on: on:
push: push:
branches: [ main ] branches: [ main, master ]
tags: [ 'v*' ] tags: [ 'v*' ]
pull_request: pull_request:
branches: [ main ] branches: [ main, master ]
jobs: jobs:
build-and-push: build-and-push:
@@ -26,7 +26,7 @@ jobs:
with: with:
registry: gitea.zfxt.top registry: gitea.zfxt.top
username: ${{ secrets.REGISTRY_USERNAME }} username: ${{ secrets.REGISTRY_USERNAME }}
password: ${{ secrets.AUTH_TOKEN }} password: ${{ secrets.REGISTRY_PASSWORD }}
- name: Extract metadata for backend - name: Extract metadata for backend
if: matrix.service == 'backend' if: matrix.service == 'backend'