fix: update github workflows

This commit is contained in:
chenos 2022-12-13 13:37:32 +08:00
parent c81c19bf23
commit 0c80992f7d
2 changed files with 12 additions and 2 deletions

View File

@ -7,16 +7,21 @@ on:
- 'develop'
paths:
- 'packages/**'
- 'docker/nocobase/**'
- 'Dockerfile.acr'
- '.github/workflows/aliyun-container-registry.yml'
pull_request:
branches:
- '**'
paths:
- 'docker/nocobase/**'
- 'packages/**'
- 'docker/nocobase/**'
- 'Dockerfile.acr'
- '.github/workflows/aliyun-container-registry.yml'
jobs:
push-acr:
if: github.event.pull_request.head.repo.fork !== true
if: github.event.pull_request.head.repo.fork != true
runs-on: ubuntu-latest
services:
verdaccio:

View File

@ -4,6 +4,11 @@ on:
push:
branches:
- 'main'
paths:
- 'packages/**'
- 'docker/nocobase/**'
- 'Dockerfile'
- '.github/workflows/docker-hub.yml'
jobs:
push-docker: