Commit Graph

7 Commits

Author SHA1 Message Date
Stefan Berger
28292591cb CI/CD: Avoid caching of container build to get latest libtpms version
Avoid caching of container builds to get latest libtpms version and therefore
pass tests that depend on changes to libtpms.

Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
2024-09-12 10:35:47 -04:00
Stefan Berger
e5c9bf2467 ci: Installed docker-compose since it has gone missing
Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
2024-08-26 17:10:08 -04:00
Boris Glimcher
103616f3b7 ci: disable ARM docker build for now
And fixing default branch name

Signed-off-by: Boris Glimcher <Boris.Glimcher@emc.com>
2024-07-19 11:52:37 -04:00
Boris Glimcher
319a4840f1 Publish docker image also to DockerHub
Signed-off-by: Boris Glimcher <Boris.Glimcher@emc.com>
2024-07-19 11:52:37 -04:00
Boris Glimcher
52546d50d1 ci: add new release action to run when published
It is better to have it as separate action.
So it can grow with nore thiungs to do on release.

It calls existing docker build and push to avoid duplication.

Signed-off-by: Boris Glimcher <Boris.Glimcher@emc.com>
2024-07-18 16:48:21 -04:00
Boris Glimcher
4135ee7e5b ci: add testing via docker compose
Auto testing as well as good example on:
how to run SWTPM in docker or compose.

Simply run `docker-compose up` to bring both swtpm and test.
Or run `docker-compose up --build --force-recreate` to re-build.
Or run `docker-compose up swtpm` to only start swtpm service without
test.

Added new job in the github action to automate this as well.

Signed-off-by: Boris Glimcher <Boris.Glimcher@emc.com>
2024-07-18 16:48:21 -04:00
Boris Glimcher
4d22ce8a22 ci: adding linter and builder github action
Fixes #869

Using popular Hadolint linter for dockers.
Using standard GitHub action for building.

Build will also publish to GHCR after PR is merged, not before.

Signed-off-by: Boris Glimcher <Boris.Glimcher@emc.com>
2024-07-18 16:48:21 -04:00