Add Gitea Actions CI and release workflows and deployment assets
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
2e7cb8171f
commit
d87c77dc13
12 files changed
+414
No files matched your search
+20
@@ -0,0 +1,20 @@
|
||||
# syntax=docker/dockerfile:1
|
||||
# Packages the binaries deploy/build.sh already built (dist/bin/linux_<arch>/bamboo),
|
||||
# so the arm64 image needs no emulation. Build it with: sh deploy/build.sh && docker buildx build .
|
||||
FROM --platform=$BUILDPLATFORM alpine:3.22 AS prep
|
||||
RUN apk add --no-cache ca-certificates \
|
||||
&& mkdir /data && chown 65532:65532 /data
|
||||
|
||||
FROM scratch
|
||||
ARG TARGETARCH
|
||||
LABEL org.opencontainers.image.title="Bamboo" \
|
||||
org.opencontainers.image.description="Site agent: connects a private network to the edge over WireGuard" \
|
||||
org.opencontainers.image.source="https://git.veillax.com/Veillax/bamboo" \
|
||||
org.opencontainers.image.licenses="AGPL-3.0-only"
|
||||
COPY --from=prep /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
|
||||
COPY --from=prep --chown=65532:65532 /data /data
|
||||
COPY dist/bin/linux_${TARGETARCH}/bamboo /bamboo
|
||||
USER 65532:65532
|
||||
ENV BAMBOO_DATA=/data
|
||||
VOLUME ["/data"]
|
||||
ENTRYPOINT ["/bamboo"]
|
||||
Reference in new issue
Block a user