91 Commits

Author SHA1 Message Date
Felix Fontein
ed0c1affd9 Avoid deprecated set-output. 2026-04-23 09:33:10 +02:00
GitHub Workflow
c14ecde71a Update roundcube version (via update.sh) 2026-03-30 03:36:49 +00:00
GitHub Workflow
95b710d873 Update roundcube version (via update.sh) 2026-03-19 03:19:12 +00:00
GitHub Workflow
7cb52f5dfa Update roundcube version (via update.sh) 2026-02-09 03:20:04 +00:00
GitHub Workflow
c9f58f9a0e Update roundcube version (via update.sh) 2025-12-15 02:26:55 +00:00
Pablo Zmdl
ea60d11dcb Fix all workflows by updating setup-docker-action
The previously used commit returned a 404 since a short while
2025-11-18 09:05:58 +01:00
Pablo Zmdl
8a25f7b808 Also tear down volumes before building images
Same as was introduced in efb91c27efdc282e39e286143eeb9046cf5e5d3a for testing
images
2025-11-04 19:27:29 +01:00
Pablo Zmdl
1d8ea95d37 Pre-setup and post-setup tasks
All executable files present in /entrypoint-tasks/pre-setup/ and
/entrypoint-tasks/post-setup/ are run at the beginning
or at the end, respectively, of the actual entrypoint-script.

Each of the executed files receive the CMD given to the container as their
arguments. This allows e.g. to change a plugin's config, or install a
technical requirement of a plugin that is to be installed.

This feature is not implemented in the images for Roundcube v1.5, since
they are not well maintained and will be dropped soon, anyways.
2025-11-03 14:19:08 +01:00
Pablo Zmdl
efb91c27ef Run tests on clean slate
Previously the volume was reused, and thus the existing files belonged to root, which prevented writing into them.
2025-11-03 14:16:56 +01:00
Pablo Zmdl
c1a7cb1ddc Separate workflow for development image
It needs different testing than the main images, thus we use standalone
workflows.

This also makes the main workflows ignore changes in development/ and
nightly/
2025-06-16 15:29:00 +02:00
Pablo Zmdl
0e43ad17d4 Ignore more 1.5-related files in main workflows 2025-06-16 12:22:49 +02:00
Pablo Zmdl
d05fca0636 Update 1.5-images to newly released v1.5.11 2025-06-16 11:31:30 +02:00
Pablo Zmdl
fe17a84f73 Fix apache-nonroot test
The http-port got lost somewhere.
2025-06-12 10:09:37 +02:00
Pablo Zmdl
022d29b03d Use containerd image store
This is (apparently) required to use the "gha" cache type
2025-06-11 15:16:59 +02:00
Pablo Zmdl
fbea5cb4d1 Format list of tags a little more readable 2025-06-11 15:03:13 +02:00
Pablo Zmdl
ba9bce5f1a Log in to docker.com as late as possible
Apparently we only benefit from automatic upstream image caching if the
job is not authenticated.
2025-06-11 15:03:13 +02:00
Pablo Zmdl
8568dcc81b Build nonroot images after rootful images
That saves compute time because the rootful images are already cached
2025-06-11 15:02:15 +02:00
Pablo Zmdl
80e6c9ade1 Test images before pushing
Currently they are pushed before they are tested, which is not really
sensible.
2025-06-11 14:41:37 +02:00
Pablo Zmdl
c7ed674b5f
Merge pull request #361 from roundcube/docker-cache-in-build 2025-06-10 10:42:17 +02:00
Pablo Zmdl
22a1a5320a
Merge pull request #360 from roundcube/include-workflow-files-in-paths-selection 2025-06-10 10:41:39 +02:00
Pablo Zmdl
904416ac1a Use cache for docker build 2025-06-10 10:35:57 +02:00
Pablo Zmdl
7b79af814f Mention target in build job title
This helps to identify the job in the list of running actions
2025-06-10 09:47:15 +02:00
Pablo Zmdl
e3e91b86ef Build/test only 1.5 images on changes to 1.5 workflows
On changes to .github/workflow/*-1.5.yml only the 1.5 images should be
tested and/or built.
2025-06-10 09:44:38 +02:00
Pablo Zmdl
8fe7d29ab6 Don't tag 1.5.x as latest* 2025-06-10 08:30:20 +02:00
Pablo Zmdl
53de78b0fc Another typo in build-1.5.yml 2025-06-06 17:45:35 +02:00
Pablo Zmdl
fbee947d48 Fix typo in build-1.5.yml 2025-06-06 17:28:13 +02:00
Pablo Zmdl
f67dff7e99 Run tests for split paths
This is not the most elegant solution, but it's simple and good enough
for now.
2025-06-04 12:08:48 +02:00
Pablo Zmdl
6c1757be88 Build 1.5-images regularly – if tests succeed
The images for 1.5.x don't include stages, so currently it's easier to
build them in a new workflow. We'll change that someday, probably.
2025-06-04 11:50:41 +02:00
Pablo Zmdl
eee4984640
Merge pull request #329 from roundcube/dev-image 2025-06-02 12:49:44 +02:00
GitHub Workflow
d578af8e6e Update roundcube version (via update.sh) 2025-06-02 02:22:06 +00:00
Pablo Zmdl
a77da95554
Merge pull request #339 from roundcube/fix-build-yaml-nonroot 2025-05-16 12:40:19 +02:00
Pablo Zmdl
c6d5552fb5 Auto label new issues 2025-05-13 11:26:28 +02:00
Pablo Zmdl
2b2cbba595 Fix build.yml for nonroot images
Copying the correct details from test.yml, they were just overlooked in
build.yml
2025-04-30 14:41:05 +02:00
Pablo Zmdl
d18cc239f1 An image for development of Roundcubemail 2025-04-22 17:18:47 +02:00
Pablo Zmdl
a62e4b6f48
Merge pull request #328 from roundcube/workflow-pin-commits 2025-04-17 14:17:10 +02:00
GitHub Workflow
123da95c1b Update roundcube version (via update.sh) 2025-04-17 02:04:14 +00:00
Thomas B.
ef4b8cc59e
feat: build non-root image variants (#310)
Adds an additional stage to the Dockerfile to create images with default user www-data.
The apache webserver listens on unprivileged port 8000 instead of 80.
Publish all variants with an additional tag ending in `-nonroot` for distinction.

Refs: #306
2025-04-15 21:46:17 +02:00
Pablo Zmdl
54ec9f1345 Pin GitHub Actions to specific commits
This is motivated by a recent case in which a github action was
compromised and manipulated tags to point to malicious code <https://www.stepsecurity.io/blog/harden-runner-detection-tj-actions-changed-files-action-is-compromised>.
2025-04-03 14:04:39 +02:00
Pablo Zmdl
f4211ef5d9
Merge pull request #324 from roundcube/reduced-platforms-nightly
Reduce platforms for nightly builds, too
2025-02-14 17:55:47 +01:00
Pablo Zmdl
e2bb6bb5dc Reduce platforms for nightly builds, too 2025-02-14 12:20:40 +01:00
Pablo Zmdl
722fd28ad9 Allow to trigger build-and-publish manually 2025-02-13 11:29:50 +01:00
Pablo Zmdl
2e7f0d5448
Merge pull request #314 from roundcube/reduced-platforms 2025-02-11 15:56:40 +01:00
GitHub Workflow
e4677f1d5c Update roundcube version (via update.sh) 2025-02-11 01:52:11 +00:00
Pablo Zmdl
c685b95dcd Remove problematic platforms
The removed platforms repeatedly caused building errors, and are pretty
niche, too.
2025-02-03 15:17:56 +01:00
Pablo Zmdl
903294cce4 Fix creating pull request 2024-12-06 15:48:31 +01:00
Pablo Zmdl
f69c7f140f Use valid branch names
ISO8601 contains colons, which apparently are not allowed for git branch
names.
2024-12-06 15:48:10 +01:00
Pablo Zmdl
c638f8dcda Fix the update.sh workflow action to handle no changes
Previously the branch was created and pushed no matter if changes were
committed, which made subsequent runs fail. This is fixed by using
distinctly named branches, and by exiting early if no changes are to be
committed.
2024-12-05 16:45:49 +01:00
Pablo Zmdl
92635b6d85
Merge pull request #288 from roundcube/notify-thomascube-of-stale-pull-requests 2024-12-05 11:57:55 +01:00
Pablo Zmdl
a716c1f53d CI: Fix working with branches with update.sh 2024-12-03 20:20:42 +01:00
Pablo Zmdl
e4ad706059 Fix pushing commit to origin 2024-12-02 15:06:36 +01:00