listen on ipv6 by default
All checks were successful
Build Multiarch Container Image / call-reusable-workflow (push) Successful in 20m31s

This commit is contained in:
Sebastian Hugentobler 2024-09-19 08:30:30 +02:00
parent 4177940a93
commit d5f56f75d7
Signed by: shu
GPG Key ID: BB32CF3CA052C2F0

View File

@ -14,6 +14,7 @@ ENV VERSION=af918bdf0dea7f7b6e920680c947fc37b37ffffb
RUN git clone https://github.com/GothenburgBitFactory/taskchampion-sync-server.git /work RUN git clone https://github.com/GothenburgBitFactory/taskchampion-sync-server.git /work
WORKDIR /work WORKDIR /work
RUN git checkout "$VERSION" RUN git checkout "$VERSION"
RUN sed -i 's/format!("0.0.0.0:{}", port)/"[::]:8080"/g' src/bin/taskchampion-sync-server.rs
RUN cargo build --release --target=$(arch)-unknown-linux-musl RUN cargo build --release --target=$(arch)-unknown-linux-musl
RUN cp "./target/$(arch)-unknown-linux-musl/release/taskchampion-sync-server" /app RUN cp "./target/$(arch)-unknown-linux-musl/release/taskchampion-sync-server" /app