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' - 'develop'
paths: paths:
- 'packages/**' - 'packages/**'
- 'docker/nocobase/**'
- 'Dockerfile.acr'
- '.github/workflows/aliyun-container-registry.yml'
pull_request: pull_request:
branches: branches:
- '**' - '**'
paths: paths:
- 'docker/nocobase/**'
- 'packages/**' - 'packages/**'
- 'docker/nocobase/**'
- 'Dockerfile.acr'
- '.github/workflows/aliyun-container-registry.yml'
jobs: jobs:
push-acr: push-acr:
if: github.event.pull_request.head.repo.fork !== true if: github.event.pull_request.head.repo.fork != true
runs-on: ubuntu-latest runs-on: ubuntu-latest
services: services:
verdaccio: verdaccio:

View File

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