Skip to content

Commit

Permalink
chore: fix docker build ci workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
qwqcode committed Dec 28, 2023
1 parent 6316559 commit 92ff757
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 10 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,10 @@ jobs:
# Parallel build the multi-arch docker image
strategy:
matrix:
target: ["linux/amd64", "linux/arm64"]
# since docker push actions will override the previous images,
# so need to build `linux/amd64` and push first,
# then build `linux/amd64` twice with other archs (build very slow so keep it last).
target: ["linux/amd64", "linux/amd64,linux/arm64,linux/arm/v7,linux/arm/v6"]
with:
version: ${{ needs.tagging.outputs.version }}
dry_run: ${{ inputs.dry_run || false }}
Expand Down
9 changes: 4 additions & 5 deletions .github/workflows/test-docs.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
name: Test Docs

on:
pull_request:
paths:
- "docs/**"
push:
paths:
- "docs/**"
paths: ['docs/**']
pull_request:
paths: ['docs/**']
branches: ['!release/*']

jobs:
test_docs:
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/test-frontend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,10 @@ name: Test Frontend

on:
push:
paths:
- 'ui/**'
paths: ['ui/**']
pull_request:
paths:
- 'ui/**'
paths: ['ui/**']
branches: ['!release/*']

jobs:
test_ui:
Expand Down

0 comments on commit 92ff757

Please sign in to comment.