fix(ci): align API build with rootless BuildKit

This commit is contained in:
dahyeon committed 2026-07-26 00:17:52 +09:00
1 parent 2ed6b93bbe
commit f05f0f2af9
2 files changed
+6 -5

No files matched your search

+6 -1
View File
@@ -131,6 +131,9 @@ spec:
- name: source
- name: dockerconfig
readOnly: true
volumes:
- name: buildkit-state
emptyDir: {}
steps:
- name: build-and-push
image: docker.io/moby/buildkit:v0.31.1-rootless@sha256:946cf909534b789c9b84af75e6d4f8cb23c3b9cb387daec5ba0f4878a3e4647c
@@ -148,7 +151,9 @@ spec:
type: Unconfined
appArmorProfile:
type: Unconfined
procMount: Unmasked
volumeMounts:
- name: buildkit-state
mountPath: /home/user/.local/share/buildkit
env:
- name: BUILDKITD_FLAGS
value: --oci-worker-no-process-sandbox
@@ -36,10 +36,6 @@ spec:
securityContext:
fsGroup: 1000
fsGroupChangePolicy: OnRootMismatch
taskRunSpecs:
- pipelineTaskName: build-api
podTemplate:
hostUsers: false
workspaces:
- name: source
volumeClaimTemplate: