Skip to content

Commit b0a9bdb

Browse files
chore: 改为只构建arm64架构,与公司repo保持一致
- 移除multiarch构建配置 - 硬编码platforms为linux/arm64 - 标签改为v001arm - Dockerfile保持原始状态
1 parent b5f9b39 commit b0a9bdb

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/build-ccu-vehicle-mock-single.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,6 @@ jobs:
101101
with:
102102
context: ./vehicle-mock
103103
file: ./vehicle-mock/Dockerfile
104-
tags: ghcr.io/${{ steps.github-repository-name-case-adjusted.outputs.lowercase }}/vehicle-mock:${{ inputs.platform }}
104+
tags: ghcr.io/${{ steps.github-repository-name-case-adjusted.outputs.lowercase }}/vehicle-mock:v001arm
105105
push: true
106-
platforms: ${{ steps.set_args.outputs.platforms }}
106+
platforms: "linux/arm64"

.github/workflows/build-ccu-vehicle-mock.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,9 @@ jobs:
4747
NAME="vehicle-mock"
4848
echo "app_name=$NAME" >> $GITHUB_OUTPUT
4949
50-
build-image-multiarch:
50+
build-image-arm64:
5151
uses: ./.github/workflows/build-ccu-vehicle-mock-single.yml
5252
needs: [get-app-name]
5353
with:
54-
platform: multiarch
54+
platform: arm64
5555
app_name: ${{ needs.get-app-name.outputs.app_name }}

0 commit comments

Comments
 (0)