Skip to content

Commit

Permalink
ci: refactor GitHub Actions workflow for multi-platform support
Browse files Browse the repository at this point in the history
- Modify the GitHub Actions workflow for the `api.yml` file
- Add `linux/amd64` and `linux/arm64` as platforms for the Docker build and push action in the workflow

Signed-off-by: ysicing <[email protected]>
  • Loading branch information
ysicing committed Apr 1, 2024
1 parent b8fe799 commit 797f665
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ jobs:
- name: Build and push docs api
uses: docker/build-push-action@v5
with:
platforms: linux/amd64,linux/arm64
pull: true
push: true
tags: ttl.sh/easysoft/zentaoapi
context: docs

0 comments on commit 797f665

Please sign in to comment.