Compare commits

...
Sign in to create a new pull request.

16 commits

Author SHA1 Message Date
fe7812a229 Update headscale image
All checks were successful
/ build-image (push) Successful in 3m50s
2025-04-21 10:38:18 -04:00
4245bee8e4 Update uptime-kuma-tailscale
Some checks are pending
/ build-image (push) Has started running
2025-04-21 10:27:59 -04:00
ff1f8bda1e bump standardnotes-web
All checks were successful
/ build-image (push) Successful in 5m43s
2024-09-28 09:46:39 -04:00
11fac54d37 element-web: Bump
All checks were successful
/ build-image (push) Successful in 1m55s
2024-09-14 10:38:10 -04:00
2f3d953ff2 bump standardnotes-web
All checks were successful
/ build-image (push) Successful in 6m34s
2024-08-11 17:10:33 -04:00
94413391e0 Bump element-web
Some checks failed
/ build-image (push) Failing after 10m47s
2024-08-03 21:25:05 -04:00
2d358be1a8 standardnotes-web: bump
All checks were successful
/ build-image (push) Successful in 7m56s
2024-05-20 21:52:09 -04:00
465c3ea65f standardnotes-web: Bump
All checks were successful
/ build-image (push) Successful in 6m28s
2024-04-12 20:34:14 -04:00
6a0acef829 nginx-dav-ext: Add OpenResty's more input headers module
All checks were successful
/ build-image (push) Successful in 2m0s
2024-04-06 15:44:02 -04:00
23d5ffd72a Add nginx-dav-ext
All checks were successful
/ build-image (push) Successful in 2m33s
2024-04-01 20:39:33 -04:00
4b4812868e Uprev element-web
All checks were successful
/ build-image (push) Successful in 1m44s
2024-03-29 15:31:49 -04:00
7514a43574 uptime-kuma: Uprev
Some checks failed
/ build-image (push) Failing after 15m7s
* And make tailscale non-blocking
2024-02-17 13:45:16 -05:00
c7214472b0 standardnotes-web: uprev 3.189.5
All checks were successful
/ build-image (push) Successful in 5m8s
2024-02-15 15:29:51 -05:00
897a20c56a Switch to our clone of changed-files action 2024-02-15 15:28:53 -05:00
d270b638e5 element-web: Uprev to v1.11.58
All checks were successful
/ build-image (push) Successful in 1m25s
2024-02-15 15:26:42 -05:00
f1296db6c9 Add forgejo actions for automatic building and pushing 2024-02-15 15:26:20 -05:00
7 changed files with 75 additions and 10 deletions

View file

@ -0,0 +1,41 @@
on: [push]
jobs:
build-image:
runs-on: docker
container:
image: quay.io/podman/stable:v4.9.0
steps:
- name: Install additional packages
run: |
dnf -y install git nodejs
- name: Setup podman
run: |
sudo -u podman podman login gitea.angry.im --username PeterCxy --password ${{ secrets.FORGEJO_TOKEN }}
- name: Repository Checkout
uses: https://gitea.angry.im/actions/checkout@v3
with:
submodules: recursive
- name: Detect Directory Changes
id: changed-dirs
uses: https://gitea.angry.im/actions/changed-files@v42
with:
dir_names: 'true'
dir_names_max_depth: '1'
dir_names_exclude_current_dir: 'true'
files_ignore: |
.forgejo/**
build-image.sh
- name: Build & Push
if: ${{ steps.changed-dirs.all_changed_files_count != '0' }}
env:
ALL_CHANGED_DIRS: ${{ steps.changed-dirs.outputs.all_changed_files }}
run: |
for file in ${ALL_CHANGED_DIRS}; do
echo "---- Building ${file} ----"
sudo -u podman ./build-image.sh ${file}
done

View file

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

View file

@ -1,7 +1,7 @@
# Builder image
FROM docker.io/golang:1.20-bullseye AS build
ARG VERSION=v0.22.3
ARG CADDY_VERSION=v2.7.6
FROM docker.io/golang:1.24-bookworm AS build
ARG VERSION=v0.25.1
ARG CADDY_VERSION=v2.10.0
ENV GOPATH /go
RUN apt-get install -y git && \
@ -26,8 +26,8 @@ RUN strip /go/bin/caddy
RUN test -e /go/bin/caddy
# Node build image
FROM docker.io/node:19-bullseye AS build-node
ARG UI_COMMIT=a9db179089e3ae2b417fb657a2d3da68a54b1f2d
FROM docker.io/node:22-bookworm AS build-node
ARG UI_COMMIT=2025.03.21
RUN apt-get install -y git && \
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
# 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)
FROM docker.io/golang:1.20-bullseye
FROM docker.io/golang:1.24-bookworm
COPY --from=build /go/bin/headscale /bin/headscale
COPY --from=build /go/bin/caddy /bin/caddy

24
nginx-dav-ext/Dockerfile Normal file
View file

@ -0,0 +1,24 @@
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
ARG SN_TAG=@standardnotes/web@3.173.23
ARG SN_TAG=@standardnotes/web@3.195.6
RUN apk add git

View file

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

View file

@ -2,5 +2,5 @@
/usr/sbin/tailscaled -state=mem: &
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