Catalan Lover
9902993b6c
Implement Caching for the CI ( #1055 )
...
GHCR - Development Branches / ghcr-publish (push) Failing after 39s
Docker Hub - Develop / docker-latest (push) Failing after 40s
Tests / Application Service Integration tests (push) Failing after 13m52s
Tests / Integration tests (push) Failing after 13m54s
Tests / Unit tests (push) Failing after 13m57s
Tests / Build & Lint (push) Failing after 13m59s
* Update Dockerignore
Updates dockerignore to protect against cache contamination so we can more effectively utilise the full potential of our Cache system.
* Implement Caching strategy support in dockerfile
* Implement Caching for CI to massively speed up warm builds
* Fix Wildcard funkyness breaking docker builds.
* Fix FROM AS style guideline violations
There's a style guideline that says you shouldn't mix the case of FROM and AS in a FROM AS statement. So we fix this violation in this commit.
You can also force it all to lowercase but considering all our other keywords are uppercase why not go uppercase only for consistency.
2026-03-25 16:18:18 +00:00
renovate[bot]
1372c17db9
Update docker/setup-qemu-action action to v4 ( #1038 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-03-14 12:34:04 +01:00
Catalan Lover
f88a3ad504
Update CI Depenency Versions ( #1035 )
...
* Update actions/checkout action to v6
* Update actions/github-script action to v8
* Update actions/setup-node action to v6
* Update docker/build-push-action action to v7
* Update docker/login-action action to v4
* Update docker/metadata-action action to v6
* Update docker/setup-buildx-action action to v4
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-03-14 12:28:14 +01:00
Catalan Lover
fc09fb2904
Finish Attested Docker Images Ambitions ( #1029 )
2026-03-13 20:38:05 +01:00
Catalan Lover
4344be93e8
Upgrade CI to publish to ghcr.io and Dockerhub ( #901 )
...
* GHCR Separate Workflows
* GHCR Standalone Publishing Refinements
* Docker Hub Publishing Refinements
* Add Development Build Artefact Generation and Publishing
This only runs against non Excluded branches as to be practical.
* Fix GHCR Deployment due to Uppercase Names and Main Branch Exclusion
* Fix Github ignoring Branch filters for Develop Workflow
* Harmonise Development Artifact Workflows
* Improve Docker Hub Development Artefact Metadata
2026-03-13 15:25:21 +01:00
Gnuxie
b13b6150e5
Use multi-stage build in Dockerfile ( #595 )
...
* Use multi-stage build in Dockerfile
https://github.com/the-draupnir-project/Draupnir/issues/300 .
* Move git describe and build into one stage.
Probably won't be a good idea to download an alpine image just to install git.
* Remove git describe step from CI.
* whoopsie, copy version from the build stage not the deleted stamp.
2024-10-10 09:35:23 +01:00
Gnuxie
337a6a3b76
Add reuse.software ( #486 )
...
We have a lot of verbose headers, and i think now is the best opportunity we have to become reuse compliant given that we just did two other similar maintenance changes (prettier, typescirpt5 & eslint9 & typescript-eslint).
* synapse_antispam resuse headers.
* delete old unused tslint.json.
* Add REUSE to pre-commit config.
* reuse info for config directory.
2024-07-25 10:58:40 +01:00
Marcel
87222588f9
Remove the attest step until we figure out how it is meant to work ( #479 )
...
* Remove the attest step until we figure out how it is meant to work
* Fix end of files
2024-07-19 09:53:56 +01:00
Marcel
d334912706
Ensure that we use the correct docker registry ( #478 )
...
This is stated at 456d685447/README.md (L187-L188) but I missed it.
2024-07-18 10:01:46 +01:00
Marcel
337d7c72a6
Add SBOM and Attestation to the Docker release process ( #477 )
...
* feat: Add SBOM and Attestation to the Docker release process. Also ensure we only deploy platforms on the qemu action as needed and update versions.
This also limits the permissions used
* fix: Make sure there is an empty line at the end of the file
* Fix the qemu platforms
2024-07-18 09:44:56 +01:00
dependabot[bot]
fa9525c4f5
Bump the github-actions group with 2 updates ( #326 )
...
Bumps the github-actions group with 2 updates: [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action ) and [baptiste0928/cargo-install](https://github.com/baptiste0928/cargo-install ).
Updates `docker/setup-buildx-action` from 3.0.0 to 3.3.0
- [Release notes](https://github.com/docker/setup-buildx-action/releases )
- [Commits](https://github.com/docker/setup-buildx-action/compare/v3.0.0...v3.3.0 )
Updates `baptiste0928/cargo-install` from 2 to 3
- [Release notes](https://github.com/baptiste0928/cargo-install/releases )
- [Changelog](https://github.com/baptiste0928/cargo-install/blob/main/CHANGELOG.md )
- [Commits](https://github.com/baptiste0928/cargo-install/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: docker/setup-buildx-action
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: github-actions
- dependency-name: baptiste0928/cargo-install
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: github-actions
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-09 18:06:56 +01:00
dependabot[bot]
9f04502774
Bump the github-actions group with 4 updates ( #125 )
...
Bumps the github-actions group with 4 updates: [docker/setup-qemu-action](https://github.com/docker/setup-qemu-action ), [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action ), [docker/login-action](https://github.com/docker/login-action ) and [docker/build-push-action](https://github.com/docker/build-push-action ).
Updates `docker/setup-qemu-action` from 2.2.0 to 3.0.0
- [Release notes](https://github.com/docker/setup-qemu-action/releases )
- [Commits](https://github.com/docker/setup-qemu-action/compare/v2.2.0...v3.0.0 )
Updates `docker/setup-buildx-action` from 2.10.0 to 3.0.0
- [Release notes](https://github.com/docker/setup-buildx-action/releases )
- [Commits](https://github.com/docker/setup-buildx-action/compare/v2.10.0...v3.0.0 )
Updates `docker/login-action` from 2 to 3
- [Release notes](https://github.com/docker/login-action/releases )
- [Commits](https://github.com/docker/login-action/compare/v2...v3 )
Updates `docker/build-push-action` from 4 to 5
- [Release notes](https://github.com/docker/build-push-action/releases )
- [Commits](https://github.com/docker/build-push-action/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: docker/setup-qemu-action
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: github-actions
- dependency-name: docker/setup-buildx-action
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: github-actions
- dependency-name: docker/login-action
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: github-actions
- dependency-name: docker/build-push-action
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: github-actions
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-19 14:29:18 +01:00
dependabot[bot]
2330ddc719
Bump the everything group with 4 updates ( #115 )
...
Bumps the everything group with 4 updates: [actions/checkout](https://github.com/actions/checkout ), [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action ), [docker/login-action](https://github.com/docker/login-action ) and [baptiste0928/cargo-install](https://github.com/baptiste0928/cargo-install ).
Updates `actions/checkout` from 2 to 4
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v2...v4 )
Updates `docker/setup-buildx-action` from 2.6.0 to 2.10.0
- [Release notes](https://github.com/docker/setup-buildx-action/releases )
- [Commits](https://github.com/docker/setup-buildx-action/compare/v2.6.0...v2.10.0 )
Updates `docker/login-action` from 1 to 2
- [Release notes](https://github.com/docker/login-action/releases )
- [Commits](https://github.com/docker/login-action/compare/v1...v2 )
Updates `baptiste0928/cargo-install` from 1 to 2
- [Release notes](https://github.com/baptiste0928/cargo-install/releases )
- [Changelog](https://github.com/baptiste0928/cargo-install/blob/main/CHANGELOG.md )
- [Commits](https://github.com/baptiste0928/cargo-install/compare/v1...v2 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: everything
- dependency-name: docker/setup-buildx-action
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: everything
- dependency-name: docker/login-action
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: everything
- dependency-name: baptiste0928/cargo-install
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: everything
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-11 14:44:16 +01:00
Marcel
8894e29606
Multiarch CI fixes ( #59 )
...
* Also build arm images
* Increase docker timeout for qemu and install missing parts in CI for multiplatform building
2023-06-12 23:34:38 +01:00
Marcel
b3f0c6e222
Also build arm images ( #58 )
...
Based on https://www.docker.com/blog/multi-arch-build-and-images-the-simple-way/
https://github.com/docker/build-push-action and https://docs.docker.com/engine/reference/commandline/buildx_build/#platform
2023-06-12 15:09:00 +01:00
gnuxie
a0ffb0d315
Github release action won't sync tags with remote.
2023-03-14 12:53:04 +00:00
gnuxie
0620bb1db7
Tag information missing when creating version.txt in CI.
2023-02-20 20:10:54 +00:00
gnuxie
acc7b59a33
Github actions should generate version.txt.
2023-02-11 15:59:50 +00:00
gnuxie
b7139b398c
Move version.txt to project top level.
2023-02-11 14:20:46 +00:00
gnuxie
cbddf71ebe
Include version information in !draupnir status.
2023-02-11 14:20:46 +00:00
Gnuxie
bb125b3828
Dockerhub gnuxie/draupnir ( #2 )
...
Change old matrix.org/mjolnir references in github actions.
2023-01-14 22:43:39 +00:00