Skip to content

Commit 0a509b7

Browse files
committed
feat: update CI manifest tagging for pull requests with architecture suffix
Signed-off-by: liuhy <[email protected]>
1 parent 291fbae commit 0a509b7

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/docker-publish.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
# Multi-architecture build strategy:
4343
# - AMD64: Native build on ubuntu-latest (fast)
4444
# - ARM64: Cross-compilation on ubuntu-latest (faster than emulation)
45-
# arch: ${{ github.event_name == 'pull_request' && fromJSON('["amd64"]') || fromJSON('["amd64", "arm64"]') }}
45+
# arch: ${{ github.event_name == 'pull_request' && fromJSON('["amd64"]') || fromJSON('["amd64", "arm64"]') }}
4646
arch: ["amd64", "arm64"]
4747
fail-fast: false
4848

@@ -149,8 +149,7 @@ jobs:
149149
context: ${{ steps.build-params.outputs.context }}
150150
file: ${{ steps.build-params.outputs.dockerfile }}
151151
platforms: ${{ steps.build-params.outputs.platform }}
152-
# push: ${{ github.event_name != 'pull_request' }}
153-
push: ${{ github.event_name == 'pull_request' }}
152+
push: ${{ github.event_name != 'pull_request' }}
154153
load: ${{ github.event_name == 'pull_request' }}
155154
tags: ${{ steps.tags.outputs.tags }}
156155
cache-from: |
@@ -181,7 +180,7 @@ jobs:
181180
permissions:
182181
contents: read
183182
packages: write
184-
# if: github.event_name != 'pull_request'
183+
if: github.event_name != 'pull_request'
185184
strategy:
186185
matrix:
187186
image: [extproc, llm-katan]

0 commit comments

Comments
 (0)