You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are building our docker images with goreleaser in gitlab pipelines. We are using docker as build containers and map the docker socket into the container.
Since the release of 1.20.0 all our builds fail with:
release failed after 1m23s error=docker build failed: failed to build linux-docker-staging-local.repo.pnet.ch/pf/create-go-app:0.29.1-20230814074824: exit status 1: WARNING: No output specified with docker-container driver. Build result will only remain in the build cache. To push result image into registry use --push or to load image into docker use --load
#1 [internal] booting buildkit
#1 pulling image moby/buildkit:buildx-stable-1
#1 pulling image moby/buildkit:buildx-stable-1 26.4s done
#1 creating container buildx_buildkit_default
#1 creating container buildx_buildkit_default 15.3s done
#1 41.68 time="2023-08-14T07:51:19Z" level=warning msg="using host network as the defaultime="2023-08-14T07:51:19Z" level=warning msg="using host network as the default"
#1 41.68 time="2023-08-14T07:51:19Z" level=warning msg="skipping containerd worker, as \"/run/containerd/containerd.sock\" does not exist"
#1 41.68 �dtime="2023-08-14T07:51:19Z" level=info msg="found 1 workers, default=\"ombq4yj0g9i90932zjl3nj5sc\""
#1 41.68 �`time="2023-08-14T07:51:19Z" level=warning msg="currently, only the default worker can be used."
#1 41.68 �\time="2023-08-14T07:51:19Z" level=info msg="running server on /run/buildkit/buildkitd.sock"
#1 41.68 time="2023-08-14T07:51:19Z" level=warning msg="skipping containerd worker, as \"/run/containerd/containerd.sock\" does not exist"
#1 41.68 time="2023-08-14T07:51:19Z" level=warning msg="currently, only the default worker can be used."
#1 41.68 �time="2023-08-14T07:51:19Z" level=warning msg="currently, only the default worker can be used."
#1 41.68
#1 ERROR: http: invalid Host header
------
> [internal] booting buildkit:
#1 41.68
#1 41.68
------
ERROR: http: invalid Host header
Learn more at https://goreleaser.com/errors/docker-build
What happened?
We are building our docker images with goreleaser in gitlab pipelines. We are using docker as build containers and map the docker socket into the container.
Since the release of 1.20.0 all our builds fail with:
The error persists even when I set:
How can we reproduce this?
I assume it is because of docker in docker builds. On my laptop it works and takes the docker driver.
goreleaser version
GoReleaser Check
Search
Supporter
Code of Conduct
Additional context
No response
The text was updated successfully, but these errors were encountered: