Skip to content

Commit

Permalink
Merge pull request #585 from bjwswang/pypi
Browse files Browse the repository at this point in the history
fix: recover data-processing image build action
  • Loading branch information
bjwswang authored Jan 19, 2024
2 parents 411eb9f + 9149421 commit 36f6e18
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 1 deletion.
30 changes: 30 additions & 0 deletions .github/workflows/data_processing_image_build_test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Build KubeAGI Data Processing images

on:
pull_request:
branches: [main]
workflow_dispatch:

jobs:
test_image_build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
with:
buildkitd-flags: --debug
config-inline: |
[worker.oci]
max-parallelism = 1
- name: Build Data Procesing image
uses: docker/build-push-action@v5
with:
context: ./pypi/data-processing
file: ./pypi/data-processing/Dockerfile
platforms: linux/amd64,linux/arm64
push: false
2 changes: 1 addition & 1 deletion .github/workflows/image_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ jobs:
- name: Build data processing image
uses: docker/build-push-action@v5
with:
context: ./pypi
context: ./pypi/data-processing
file: ./pypi/data-processing/Dockerfile
platforms: linux/amd64,linux/arm64
tags: |
Expand Down

0 comments on commit 36f6e18

Please sign in to comment.