Commit graph

17 commits

Author SHA1 Message Date
renovate[bot]
ad3dc27e3f chore(deps): update actions/checkout action to v3.5.2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-13 17:16:27 +02:00
renovate[bot]
7b1e78f08e chore(deps): update actions/checkout action to v3.5.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-04-13 02:17:45 +00:00
renovate[bot]
67cf1432b2 chore(deps): update actions/checkout action to v3.5.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-24 13:02:52 +01:00
renovate[bot]
33aedc1e5f chore(deps): update actions/checkout action to v3.4.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-15 21:40:43 +01:00
renovate[bot]
bd35782585 chore(deps): update docker/setup-buildx-action action to v2.5.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-11 20:51:09 +01:00
Erik Michelson
b8f6910fe2 ci(caching): use cache-key without hash and docker cache without max setting
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2023-02-18 15:57:44 +01:00
renovate[bot]
b756d99143 chore(deps): update docker/setup-buildx-action action to v2.4.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-11 09:29:16 +01:00
Tilman Vatteroth
e9eab686e2 fix(docker): Separate docker builds into two jobs
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-02-09 11:56:10 +01:00
Tilman Vatteroth
2d8ed6e136 fix(ci): fix docker build args
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-02-07 21:55:04 +01:00
Erik Michelson
305b6f5910 misc: add turbo monorepo util
Co-authored-by: Tilman Vatteroth <git@tilmanvatteroth.de>
Co-authored-by: David Mehren <git@herrmehren.de>
Co-authored-by: Erik Michelson <github@erik.michelson.eu>
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
Signed-off-by: David Mehren <git@herrmehren.de>
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-02-07 21:38:40 +01:00
Tilman Vatteroth
bf30cbcf48 fix(repository): Move backend code into subdirectory
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-10-30 22:46:42 +01:00
Renovate Bot
d3fff07682 chore(deps): update docker/metadata-action action to v4
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-05-07 16:20:17 +02:00
Renovate Bot
3ff34b575a chore(deps): update docker/setup-buildx-action action to v2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-05-07 16:19:41 +02:00
Renovate Bot
94bca42a93 chore(deps): update docker/setup-qemu-action action to v2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-05-07 16:19:28 +02:00
Renovate Bot
be52e89ad0 chore(deps): update docker/build-push-action action to v3
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-05-07 11:11:34 +02:00
Renovate Bot
cc3564622d chore(deps): update docker/login-action action to v2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-05-07 11:11:23 +02:00
David Mehren
5078b863c6 ci: build and test docker image
This adds a new workflow performing these steps:
- A development docker image is built and pushed to GHCR as
  'hedgedoc-ci' labeled with the commit hash
- Tests are run with the image
- If the tests are successful, a production image is built and
  pushed to GHCR as 'hedgedoc' labeled with the branch, version tag
  if available and the commit hash

At a later time, the built dev image can also be used to run E2E tests
with the other supported databases. Currently, this is not yet possible,
as the database is always expected to run on localhost, not other hosts.

Signed-off-by: David Mehren <git@herrmehren.de>
2022-03-21 14:57:27 +01:00