refactor: simplify Docker platforms format in CI/CD workflows
- Changed platforms from multiline list to comma-separated string in both ci.yml and cd.yml for consistency and brevity - Removed unnecessary blank line in ci.yml and adjusted tags formatting
lemon-mint committed
Nov 5, 2025 at 10:20 UTC
dfc10e8c5de80ce2228270970631b63fda73fe8d
2 files changed
+3
-10
.github/workflows/cd.yml
+1
-4
@@ -51,10 +51,7 @@ jobs:
51
- name: Build and push Docker image
52
uses: docker/build-push-action@v6
53
with:
54
- platforms:
55
- - linux/amd64
56
- - linux/arm64
57
- - linux/arm/v7
54
+ platforms: linux/amd64,linux/arm64,linux/arm/v7
55
context: .
56
push: true
57
tags: ${{ steps.meta.outputs.tags }}
.github/workflows/ci.yml
+2
-6
@@ -101,14 +101,10 @@ jobs:
101
- name: Build Docker image
102
uses: docker/build-push-action@v6
103
with:
104
- platforms:
105
- - linux/amd64
106
- - linux/arm64
107
- - linux/arm/v7
104
+ platforms: linux/amd64,linux/arm64,linux/arm/v7
105
context: .
106
push: false
110
- tags: "portal:latest"
111
-
107
+ tags: portal:latest
108
# lint:
109
# name: Lint
110
# runs-on: ubuntu-latest