This commit is contained in:
archer 2023-06-30 11:34:21 +08:00
parent a4e2c6510f
commit 93fc9ee65d
No known key found for this signature in database
GPG Key ID: 569A5660D2379E28
2 changed files with 8 additions and 4 deletions

View File

@ -2,12 +2,14 @@ name: Build fastgpt-admin images and copy image to docker hub
on:
workflow_dispatch:
push:
paths:
- 'admin/**'
branches:
- 'main'
tags:
- 'v*.*.*'
jobs:
build-images:
build-admin-images:
runs-on: ubuntu-20.04
steps:
- name: Checkout
@ -52,7 +54,7 @@ jobs:
-f Dockerfile \
.
push-to-docker-hub:
needs: build-images
needs: build-admin-images
runs-on: ubuntu-20.04
steps:
- name: Checkout code

View File

@ -2,12 +2,14 @@ name: Build fastgpt images and copy image to docker hub
on:
workflow_dispatch:
push:
paths:
- 'client/**'
branches:
- 'main'
tags:
- 'v*.*.*'
jobs:
build-images:
build-fastgpt-images:
runs-on: ubuntu-20.04
steps:
- name: Checkout
@ -52,7 +54,7 @@ jobs:
-f Dockerfile \
.
push-to-docker-hub:
needs: build-images
needs: build-fastgpt-images
runs-on: ubuntu-20.04
steps:
- name: Checkout code