-
-
Notifications
You must be signed in to change notification settings - Fork 371
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multiarch build server docker images #635
Conversation
…cker into multiarch-build-server
tldr: it works localy but not with CI as xgo do not store files into workspace ?!? -> need to figure out where they get stored!!! |
fi | ||
|
||
cross-compile-server: cross-compile-server-build-loop | ||
tree dist |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi, could you just run tree
to see if the binaries are placed outside of the dist/
folder?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Binaries are placed in /build/
$(foreach platform,$(subst ;, ,$(PLATFORMS)),TARGETOS=$(firstword $(subst |, ,$(platform))) TARGETARCH=$(word 2,$(subst |, ,$(platform))) make release-server-xgo || exit 1;) | ||
|
||
normalize-server-artifacts: | ||
mv dist/server/$(TARGETOS)/$(TARGETARCH)/$(shell ls dist/server/$(TARGETOS)/$(TARGETARCH)/) dist/server/$(TARGETOS)/$(TARGETARCH)/woodpecker-server |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For me it only works when I run the following here:
mv dist/server/$(TARGETOS)/$(TARGETARCH)/woodpecker-server-$(TARGETOS)-$(TARGETARCH) dist/server/$(TARGETOS)/$(TARGETARCH)/woodpecker-server
Hi @6543,
I also can't reproduce this locally using FROM techknowlogick/xgo:go-1.17.x
WORKDIR /src
COPY . .
RUN apt update
RUN apt install -y tree
RUN PLATFORMS="linux|amd64;linux|arm64" TAGS="bindata sqlite sqlite_unlock_notify" make cross-compile-server
Edit: Edit2: Edi3:
Edit4:
|
-> #821 |
No description provided.