mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-22 17:31:03 +01:00
refactor: code cleanup
This commit is contained in:
4
.github/workflows/docker-crawlab.yml
vendored
4
.github/workflows/docker-crawlab.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user