Commit graph

7 commits

Author SHA1 Message Date
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