Compare commits

..

21 Commits

Author SHA1 Message Date
woggioni 3e2a4a70fe added java 17 to gitea builder
CI / Build arch-builder docker images (push) Successful in 1h49m36s
2026-06-11 08:41:28 +08:00
woggioni 0554eedb74 added musl toolchain to opencode image
CI / Build opencode docker images (push) Successful in 5m16s
2026-06-09 22:27:35 +08:00
woggioni 774b450332 updated opencode image
CI / Build opencode docker images (push) Successful in 5h14m11s
2026-06-08 22:10:41 +08:00
woggioni 9e3b58d89e bump opencode to 1.16.2
CI / Build opencode docker images (push) Successful in 3m52s
2026-06-08 12:19:26 +08:00
woggioni 800bcdaee7 bump synapse to 1.154.0
CI / Build synapse docker images (push) Successful in 53s
2026-06-07 06:25:20 +08:00
woggioni f19fda3814 renamed gitea_act_runner image to gitea-runner
CI / Build arch-builder docker images (push) Has been cancelled
2026-06-06 16:00:16 +08:00
woggioni 98f876b074 updated opencode to 1.16.0
CI / Build opencode docker images (push) Failing after 16m32s
2026-06-05 17:32:45 +08:00
woggioni 838b611cac updated nginx to 1.31.1
CI / Build nginx docker images (push) Has been cancelled
2026-06-02 13:15:18 +08:00
woggioni 83416a1f5d bump opencode to 1.15.13
CI / Build opencode docker images (push) Successful in 3m54s
2026-06-01 21:31:46 +08:00
woggioni d64ee44306 added synapse image
CI / Build synapse docker images (push) Successful in 3m50s
2026-05-29 13:56:23 +08:00
woggioni 86f1f5188c updated opencode to 1.15.11
CI / Build opencode docker images (push) Successful in 16m29s
2026-05-28 18:18:31 +08:00
woggioni e90ddf113e bump opencode to 1.15.5
CI / Build opencode docker images (push) Successful in 15m37s
2026-05-19 11:26:20 +08:00
woggioni 5734f68f97 updated opencode to 1.15.3
CI / Build opencode docker images (push) Successful in 5m36s
2026-05-17 23:27:15 +08:00
woggioni f978e0a26b rebuild nginx 1.30.0
CI / Build nginx docker images (push) Has been cancelled
2026-05-16 14:58:39 +08:00
woggioni 7b1b154e95 upgraded nginx to 1.31.0
CI / Build nginx docker images (push) Successful in 7m21s
2026-05-15 22:47:37 +08:00
woggioni 1f6c90db8c add openssh to arch-builder images
CI / Build arch-builder docker images (push) Successful in 20m58s
CI / Build shadowsocks-rust docker images (push) Has been cancelled
2026-05-15 07:26:45 +08:00
woggioni a6e55ed3e1 shadowsocks-rust to dev tag 2026-05-11 21:02:38 +08:00
woggioni 7ab281bea7 updated xray plugin 2026-05-11 21:01:43 +08:00
woggioni 1601d474f8 Revert "updated xray plugin"
CI / Build shadowsocks-rust docker images (push) Successful in 24s
This reverts commit 6e489011a4.
2026-05-11 17:17:09 +08:00
woggioni 6e489011a4 updated xray plugin 2026-05-11 17:17:02 +08:00
woggioni 5d0c70c85b bump opencode to 1.14.48 2026-05-11 17:17:02 +08:00
9 changed files with 64 additions and 25 deletions
+3 -3
View File
@@ -101,7 +101,7 @@ jobs:
"gitea.woggioni.net/woggioni/arch-builder:rust-full-sccache"
target: rust-full-sccache
-
name: Build and push arch-builder gitea_act_runner images
name: Build and push arch-builder gitea-runner images
uses: docker/build-push-action@v6
with:
builder: multiplatform-builder
@@ -110,5 +110,5 @@ jobs:
push: true
pull: true
tags: |
"gitea.woggioni.net/woggioni/arch-builder:gitea_act_runner"
target: gitea_act_runner
"gitea.woggioni.net/woggioni/arch-builder:gitea-runner"
target: gitea-runner
+8 -6
View File
@@ -31,12 +31,13 @@ jobs:
ssh: default=/home/luser/.ssh/id_ed25519
tags: |
"gitea.woggioni.net/woggioni/nginx:latest"
"gitea.woggioni.net/woggioni/nginx:v1.30.0"
"gitea.woggioni.net/woggioni/nginx:v1.31.1"
secrets: |
GIT_AUTH_TOKEN.github.com=${{ secrets.GH_ACCESS_TOKEN }}
build-args: |
LIBRESSL_VERSION=4.2.1
NGINX_VERSION=1.30.0
LIBRESSL_VERSION=4.3.2
NGINX_VERSION=1.31.1
NJS_VERSION=0.9.8
NGINX_BRANCH=vanilla
-
name: Build and push nginx custom images
@@ -53,10 +54,11 @@ jobs:
ssh: default=/home/luser/.ssh/id_ed25519
tags: |
"gitea.woggioni.net/woggioni/nginx:woggioni"
"gitea.woggioni.net/woggioni/nginx:v1.30.0-woggioni"
"gitea.woggioni.net/woggioni/nginx:v1.31.1-woggioni"
secrets: |
GIT_AUTH_TOKEN.github.com=${{ secrets.GH_ACCESS_TOKEN }}
build-args: |
LIBRESSL_VERSION=4.2.1
NGINX_VERSION=1.30.0
LIBRESSL_VERSION=4.3.2
NGINX_VERSION=1.31.1
NJS_VERSION=0.9.8
NGINX_BRANCH=woggioni
+2 -2
View File
@@ -24,12 +24,12 @@ jobs:
builder: multiplatform-builder
context: "{{defaultContext}}:opencode"
build-args: |
OPENCODE_VERSION=1.14.48
OPENCODE_VERSION=1.16.2
platforms: |
linux/amd64
push: true
pull: true
tags: |
"gitea.woggioni.net/woggioni/opencode:1.14.48"
"gitea.woggioni.net/woggioni/opencode:1.16.2"
"gitea.woggioni.net/woggioni/opencode:latest"
+1 -2
View File
@@ -29,6 +29,5 @@ jobs:
pull: false
ssh: default=/home/luser/.ssh/id_ed25519
tags: |
"gitea.woggioni.net/woggioni/sserver-rust:latest"
"gitea.woggioni.net/woggioni/sserver-rust:v1.24.0"
"gitea.woggioni.net/woggioni/sserver-rust:dev"
build-args: "VERSION=1.24.0"
+34
View File
@@ -0,0 +1,34 @@
name: CI
on:
push:
branches: [ master ]
paths:
- 'synapse/*'
- '.gitea/workflows/build-synapse.yaml'
jobs:
"Build synapse docker images":
runs-on: woryzen
steps:
-
name: Login to Gitea container registry
uses: docker/login-action@v3
with:
registry: gitea.woggioni.net
username: woggioni
password: ${{ secrets.PUBLISHER_TOKEN }}
-
name: Build and push synapse images
uses: docker/build-push-action@v6
with:
builder: multiplatform-builder
context: "{{defaultContext}}:synapse"
build-args: |
VERSION=1.154.0
platforms: |
linux/amd64
push: true
pull: true
tags: |
"gitea.woggioni.net/woggioni/synapse:latest"
"gitea.woggioni.net/woggioni/synapse:1.154.0"
+4 -4
View File
@@ -16,6 +16,7 @@ RUN rm repository.key
RUN --mount=type=cache,target=/var/cache/pacman pacman -Syu --noconfirm
RUN --mount=type=cache,target=/var/cache/pacman pacman -S --noconfirm --needed \
curl \
openssh \
aarch64-unknown-linux-musl-gcc x86_64-unknown-linux-musl-gcc \
arm-unknown-linux-musleabihf-gcc \
arm-unknown-linux-musleabi-gcc \
@@ -70,7 +71,6 @@ RUN --mount=type=cache,target=/var/cache/pacman pacman -S --noconfirm --needed \
imagemagick \
python-sphinx \
python-yaml \
openssh \
rust \
rust-src \
rust-bindgen \
@@ -141,10 +141,10 @@ RUN rustup target add \
wasm32-unknown-unknown \
wasm32-wasip2
FROM base AS gitea_act_runner
FROM base AS gitea-runner
RUN --mount=type=bind,source=woggioni.net.ca.pem,target=/root.pem trust anchor root.pem
RUN --mount=type=cache,target=/var/cache/pacman pacman -S --noconfirm --needed nodejs npm docker docker-buildx btrfs-progs hidapi protobuf rustup llvm clang trunk emscripten sccache
RUN --mount=type=cache,target=/var/cache/pacman pacman -S --noconfirm --needed gitea-act-runner jdk21-graalvm-bin jdk25-graalvm-bin jdk21-graalvm-ce-bin jdk25-graalvm-ce-bin go
RUN --mount=type=cache,target=/var/cache/pacman pacman -S --noconfirm --needed gitea-runner jdk17-graalvm-ce-bin jdk17-graalvm-bin jdk21-graalvm-bin jdk25-graalvm-bin jdk21-graalvm-ce-bin jdk25-graalvm-ce-bin go
RUN usermod -a luser -G docker
USER luser
WORKDIR /home/luser
@@ -167,4 +167,4 @@ RUN cargo install worker-build
RUN cargo install wasm-bindgen-cli
RUN npm install -D wrangler
ENV PATH="/home/luser/.local/bin:/home/luser/.cargo/bin:${PATH}"
CMD ["/usr/lib/gitea/act_runner/act_runner", "daemon", "--config", "/var/lib/gitea/act_runner.yaml"]
CMD ["/usr/bin/gitea-runner", "daemon", "--config", "/var/lib/gitea/runner.yaml"]
+3 -4
View File
@@ -2,7 +2,7 @@ ARG NGINX_BRANCH=vanilla
FROM alpine:3.23 AS base
FROM base AS build_stage_1
ARG NGINX_VERSION LIBRESSL_VERSION
ARG NGINX_VERSION LIBRESSL_VERSION NJS_VERSION
RUN --mount=type=cache,target=/var/cache/apk apk update
RUN --mount=type=cache,target=/var/cache/apk apk add \
autoconf \
@@ -34,8 +34,7 @@ RUN --mount=type=cache,target=/var/cache/apk apk add \
tar \
tzdata \
zlib \
zlib-dev \
mercurial
zlib-dev
RUN adduser -D luser
USER luser
WORKDIR /home/luser
@@ -69,7 +68,7 @@ ADD --chown=luser:luser https://github.com/google/ngx_brotli.git /ngx_brotli
USER root
WORKDIR /
RUN hg clone http://hg.nginx.org/njs /njs
ADD --chown=luser:luser git@github.com:nginx/njs.git#${NJS_VERSION} /njs
RUN chown luser:luser -R /njs
USER luser
WORKDIR /home/luser
+4 -4
View File
@@ -17,9 +17,9 @@ RUN rm repository.key
RUN --mount=type=cache,target=/var/cache/pacman pacman -Syu --noconfirm
RUN --mount=type=cache,target=/var/cache/pacman pacman -S --noconfirm --needed \
rustup rust-analyzer jdtls python-pipx ripgrep git rustup gradle curl sccache openssh \
helix bash-language-server marksman python-lsp-server vscode-css-languageserver \
vscode-html-languageserver vscode-json-languageserver yaml-language-server base-devel
RUN --mount=type=cache,target=/var/cache/pacman pacman -S --noconfirm --needed jdk25-graalvm-ce-bin
helix bash-language-server marksman python-lsp-server vscode-css-languageserver x86_64-unknown-linux-musl-zlib x86_64-unknown-linux-musl-gcc \
vscode-html-languageserver vscode-json-languageserver yaml-language-server base-devel docker less
RUN --mount=type=cache,target=/var/cache/pacman pacman -S --noconfirm --needed jdk25-graalvm-bin
RUN useradd -m -d /var/lib/opencode opencode
RUN mkdir /workspace
RUN chown opencode:opencode /workspace
@@ -31,7 +31,7 @@ RUN tar -xvf ./opencode.tgz -C /usr/bin
RUN rm opencode.tgz
ADD --chown=opencode:opencode ./opencode.json /etc/opencode/opencode.json
RUN mkdir -p /usr/lib/opencode/addons
ADD --chmod=644 https://repo1.maven.org/maven2/org/projectlombok/lombok/1.18.44/lombok-1.18.44.jar /usr/lib/opencode/addons/lombok.jar
ADD --chmod=644 https://repo1.maven.org/maven2/org/projectlombok/lombok/1.18.46/lombok-1.18.46.jar /usr/lib/opencode/addons/lombok.jar
ENV OPENCODE_CONFIG=/etc/opencode/opencode.json
ENV EDITOR=helix
USER opencode
+5
View File
@@ -0,0 +1,5 @@
ARG VERSION
FROM matrixdotorg/synapse:v${VERSION}
USER root
RUN python -m pip install synapse-s3-storage-provider
USER 1000