From 0b6af59a2316b2d2ae692ad837b6745b26ecda92 Mon Sep 17 00:00:00 2001 From: Lee Chapman Date: Sun, 29 Mar 2026 14:35:45 -0700 Subject: [PATCH] ci: fix publish-cloudflared buildctl dockerfile local path buildctl --local dockerfile expects a directory containing Dockerfile, not ./cloudflare/Dockerfile. Matches the main publish job pattern (--local dockerfile=.). Fixes GitLab job publish-cloudflared failing on tagged pipelines. Made-with: Cursor --- .gitlab-ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 26b967e..a55cd6a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -73,10 +73,11 @@ publish-cloudflared: OUTPUT_FLAGS="$OUTPUT_FLAGS --output type=image,name=$HARBOR_REGISTRY/$HARBOR_PROJECT/cloudflared-tunnel:$CI_COMMIT_TAG,push=true" fi + # buildctl --local dockerfile must be a directory containing Dockerfile, not the file path buildctl-daemonless.sh build \ --frontend dockerfile.v0 \ --local context=./cloudflare \ - --local dockerfile=./cloudflare/Dockerfile \ + --local dockerfile=./cloudflare \ $OUTPUT_FLAGS echo "Pushed cloudflared-tunnel to $CLOUDFLARED_IMAGE"