Skip to content

Commit f214e53

Browse files
committed
fixup! feat(platform): add buildkit image CI custom build with uuid
Signed-off-by: Radek Ježek <radek.jezek@ibm.com>
1 parent d5e91f7 commit f214e53

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/build-buildkit.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ jobs:
4040
run: |
4141
cat > Dockerfile << 'EOF'
4242
FROM moby/buildkit:${{ github.event.inputs.tag }}
43+
USER root
4344
4445
RUN add_user -D -u ${{ github.event.inputs.uid }} oc_user \
4546
&& mkdir -p /run/user/${{ github.event.inputs.uid }} /home/oc_user/.local/tmp /home/oc_user/.local/share/buildkit \
@@ -62,4 +63,4 @@ jobs:
6263
push: true
6364
platforms: linux/amd64,linux/arm64
6465
tags: |
65-
ghcr.io/i-am-bee/moby/buildkit:${{ steps.version.outputs.exact_tag }}-uid-${{ github.event.inputs.uid }}
66+
ghcr.io/i-am-bee/moby/buildkit:${{ github.event.inputs.tag }}-uid-${{ github.event.inputs.uid }}

0 commit comments

Comments
 (0)