refactor: code cleanup

This commit is contained in:
Marvin Zhang
2024-10-29 12:59:45 +08:00
parent 43931a3e48
commit 1c03cb3e5c
31 changed files with 232 additions and 2327 deletions

View File

@@ -10,6 +10,7 @@ on:
types: [ docker-crawlab ]
env:
SOURCE_CODE_PATH_CRAWLAB_BACKEND: core
IMAGE_PATH_CRAWLAB_BACKEND: backend
IMAGE_PATH_CRAWLAB_FRONTEND: frontend
GH_PKG_NAME_CRAWLAB_BASE: ${{ github.repository_owner }}/crawlab-base
@@ -44,7 +45,6 @@ jobs:
with:
files_yaml: |
backend:
- 'backend/**'
- 'core/**'
- 'db/**'
- 'fs/**'
@@ -165,7 +165,7 @@ jobs:
- name: Build and push image
uses: docker/build-push-action@v5
with:
context: ${{ env.IMAGE_PATH_CRAWLAB_BACKEND }}
context: ${{ env.SOURCE_CODE_PATH_CRAWLAB_BACKEND }}
push: true
tags: ${{ env.IMAGE_NAME_CRAWLAB_BACKEND }}:${{ needs.setup.outputs.version }}
- name: Set output