Compare commits

..

26 commits

Author SHA1 Message Date
f66636aa07 element-web: Uprev to v1.11.58
All checks were successful
/ build-image (push) Successful in 1m25s
2024-02-15 15:23:52 -05:00
7756b9804a Actually build images 2024-02-15 15:23:44 -05:00
c63bada170 Configure changed-files plugin properly
All checks were successful
/ build-image (push) Successful in 1m2s
2024-02-15 15:20:19 -05:00
249d882272 Test changed-files action
All checks were successful
/ build-image (push) Successful in 1m4s
2024-02-15 15:13:37 -05:00
c88c7f2499 Refer to a fixed podman image version
All checks were successful
/ build-image (push) Successful in 1m22s
2024-02-15 15:09:22 -05:00
2319132092 Rework usage of podman image
All checks were successful
/ build-image (push) Successful in 1m27s
2024-02-15 15:06:30 -05:00
037fe95b37 Reapply "Use official podman images"
This reverts commit 06886b4301.
2024-02-15 15:05:48 -05:00
bba6274869 Revert "Switch to Debian Trixie"
This reverts commit 87ee8b7eba.
2024-02-15 15:05:45 -05:00
87ee8b7eba Switch to Debian Trixie
Some checks failed
/ build-image (push) Failing after 39s
2024-02-15 14:57:13 -05:00
06886b4301 Revert "Use official podman images"
This reverts commit d66609a954.
2024-02-15 14:56:31 -05:00
d66609a954 Use official podman images
Some checks failed
/ build-image (push) Failing after 42s
2024-02-15 14:53:49 -05:00
17b18b01bb Fix subuid/subgid before testing podman
Some checks failed
/ build-image (push) Failing after 23s
2024-02-15 14:50:13 -05:00
68f2d6830a Use anonymous volume for guest /var/lib/containers
Some checks failed
/ build-image (push) Failing after 23s
2024-02-15 14:48:20 -05:00
76019f59df Add git setup for alpine
Some checks failed
/ build-image (push) Failing after 18s
2024-02-15 14:45:06 -05:00
d5b1dd1034 Try using alpine for newer podman (without fuse-overlayfs)
Some checks failed
/ build-image (push) Failing after 18s
2024-02-15 14:43:31 -05:00
294bacdada Fixup subuid / subgid and fuse mount
Some checks failed
/ build-image (push) Failing after 28s
2024-02-15 14:40:58 -05:00
7b6b76036d Test
Some checks failed
/ build-image (push) Failing after 28s
2024-02-15 14:37:14 -05:00
a0f1b19adf Test podman
Some checks failed
/ build-image (push) Failing after 28s
2024-02-15 14:33:16 -05:00
69c32bb4f3 Test add image build & push
Some checks failed
/ build-image (push) Failing after 28s
2024-02-15 14:31:02 -05:00
9e0a2535d3 Add username for podman
All checks were successful
/ build-image (push) Successful in 24s
2024-02-15 14:27:06 -05:00
64b411906e Fix syntax
Some checks failed
/ build-image (push) Failing after 24s
2024-02-15 14:26:10 -05:00
e569f1b2a6 Fix podman setup (?)
Some checks failed
/ build-image (push) Has been cancelled
2024-02-15 14:25:22 -05:00
fc9a92c5ae Test
All checks were successful
/ build-image (push) Successful in 24s
2024-02-15 14:23:18 -05:00
3898c23f13 Test
All checks were successful
/ build-image (push) Successful in 18s
2024-02-15 14:22:19 -05:00
c3027f071d Fix multi-line command
All checks were successful
/ build-image (push) Successful in 18s
2024-02-15 14:19:38 -05:00
207d61d724 Init forgejo actions
All checks were successful
/ build-image (push) Successful in 29s
2024-02-15 14:17:56 -05:00
7 changed files with 11 additions and 35 deletions

View file

@ -21,7 +21,7 @@ jobs:
- name: Detect Directory Changes - name: Detect Directory Changes
id: changed-dirs id: changed-dirs
uses: https://gitea.angry.im/actions/changed-files@v42 uses: https://github.com/tj-actions/changed-files@v42
with: with:
dir_names: 'true' dir_names: 'true'
dir_names_max_depth: '1' dir_names_max_depth: '1'

View file

@ -1,4 +1,4 @@
ARG ELEMENT_VER=v1.11.77 ARG ELEMENT_VER=v1.11.58
FROM debian:11 AS builder FROM debian:11 AS builder

View file

@ -1,7 +1,7 @@
# Builder image # Builder image
FROM docker.io/golang:1.24-bookworm AS build FROM docker.io/golang:1.20-bullseye AS build
ARG VERSION=v0.25.1 ARG VERSION=v0.22.3
ARG CADDY_VERSION=v2.10.0 ARG CADDY_VERSION=v2.7.6
ENV GOPATH /go ENV GOPATH /go
RUN apt-get install -y git && \ RUN apt-get install -y git && \
@ -26,8 +26,8 @@ RUN strip /go/bin/caddy
RUN test -e /go/bin/caddy RUN test -e /go/bin/caddy
# Node build image # Node build image
FROM docker.io/node:22-bookworm AS build-node FROM docker.io/node:19-bullseye AS build-node
ARG UI_COMMIT=2025.03.21 ARG UI_COMMIT=a9db179089e3ae2b417fb657a2d3da68a54b1f2d
RUN apt-get install -y git && \ RUN apt-get install -y git && \
git clone https://github.com/gurucomputing/headscale-ui /headscale-ui git clone https://github.com/gurucomputing/headscale-ui /headscale-ui
@ -39,7 +39,7 @@ RUN git checkout $UI_COMMIT && npm install --development && npm run build
# Production image # Production image
# Note that we do not use "distroless" because we actually want to have a shell in the image # Note that we do not use "distroless" because we actually want to have a shell in the image
# to run app.sh (in order to perform custom initialization) # to run app.sh (in order to perform custom initialization)
FROM docker.io/golang:1.24-bookworm FROM docker.io/golang:1.20-bullseye
COPY --from=build /go/bin/headscale /bin/headscale COPY --from=build /go/bin/headscale /bin/headscale
COPY --from=build /go/bin/caddy /bin/caddy COPY --from=build /go/bin/caddy /bin/caddy

View file

@ -1,24 +0,0 @@
ARG NGINX_VERSION=1.25.4
FROM docker.io/debian:bookworm AS builder
ARG NGINX_VERSION
RUN apt-get -y update && apt-get -y install git build-essential wget libxslt1-dev libpcre2-dev zlib1g-dev \
&& mkdir /src && cd /src \
&& wget -qO - https://nginx.org/download/nginx-${NGINX_VERSION}.tar.gz | tar zxfv - \
&& git clone https://github.com/arut/nginx-dav-ext-module.git \
&& git clone https://github.com/openresty/headers-more-nginx-module.git
RUN cd /src/nginx-${NGINX_VERSION} && ./configure --with-compat \
--with-file-aio --with-threads \
--add-dynamic-module=../nginx-dav-ext-module \
--add-dynamic-module=../headers-more-nginx-module \
&& make modules
FROM docker.io/nginx:${NGINX_VERSION}-bookworm
ARG NGINX_VERSION
COPY --from=builder /src/nginx-${NGINX_VERSION}/objs/ngx_http_dav_ext_module.so /usr/lib/nginx/modules/
COPY --from=builder /src/nginx-${NGINX_VERSION}/objs/ngx_http_headers_more_filter_module.so /usr/lib/nginx/modules/

View file

@ -1,6 +1,6 @@
FROM node:16-alpine AS builder FROM node:16-alpine AS builder
ARG SN_TAG=@standardnotes/web@3.195.6 ARG SN_TAG=@standardnotes/web@3.173.23
RUN apk add git RUN apk add git

View file

@ -2,7 +2,7 @@
# Used on fly.io because it does not support sidecar containers # Used on fly.io because it does not support sidecar containers
# The tailscale ephemeral key should be provided via the env variable TAILSCALE_KEY # The tailscale ephemeral key should be provided via the env variable TAILSCALE_KEY
# custom tailscale control plane can be specified with TAILSCALE_SERVER # custom tailscale control plane can be specified with TAILSCALE_SERVER
FROM docker.io/louislam/uptime-kuma:1.23.16 FROM docker.io/louislam/uptime-kuma:1.21.2
# Default tailscale login server # Default tailscale login server
ENV TAILSCALE_SERVER=https://controlplane.tailscale.com ENV TAILSCALE_SERVER=https://controlplane.tailscale.com
ENV TAILSCALE_HOSTNAME=uptime-kuma ENV TAILSCALE_HOSTNAME=uptime-kuma

View file

@ -2,5 +2,5 @@
/usr/sbin/tailscaled -state=mem: & /usr/sbin/tailscaled -state=mem: &
sleep 1 sleep 1
tailscale up --login-server=$TAILSCALE_SERVER --authkey=$TAILSCALE_KEY --hostname=$TAILSCALE_HOSTNAME & tailscale up --login-server=$TAILSCALE_SERVER --authkey=$TAILSCALE_KEY --hostname=$TAILSCALE_HOSTNAME
node /app/server/server.js node /app/server/server.js