Commit Graph

20 Commits (e8ff4ed14432fd4c6e4d4069819ff0533a16b804)

Author SHA1 Message Date
Mike Lang 4dbe1dce5e Use cache in readonly mode for PRs in forked repos
Mike Lang bff3fa7800 Refactor build script to actually have a working cache using buildah
The old "docker build" no longer does caching the way it used to, and our cache logic doesn't work.

The new cache logic uses buildah, which is an alternate image build tool.
Buildah comes pre-installed on GHA.

When building, it pushes each layer as it goes to the cache repo.
It queries the repo for layers that are already built, so we don't need to explicitly pull
any specific tags and cache from them.

If caching is not enabled we still use docker as normal, so local development is not affected.
Local automatic caching will still apply.
Hubbe 4238ab5d9d Use "latest" in workflow manifest
Mike Lang a16c78f52f update github actions to auto-build new images
because of course it doesn't just automatically pick them up, gotta have duplicated hard-coded lists everywhere

god i hate github actions
Mike Lang bbcbed8c51 try again to disable fail-fast in github
Mike Lang 634ae6b327 github actions: Don't stop builds if any build fails
Mike Lang 76daceff19 bus_analyzer: initial implementation
Mike Lang 91d99bb22b Also build zulip_bots in CI
Mike Lang e5b1a57f37 github actions: Actually build the right commit
Mike Lang 50b830bf82 github actions: check out submodules when building
Mike Lang 4f2c5c48ec build chat_archiver in CI
Hubbe 9750cbd728 Set ghcr.io username to user triggering the build
This should hopefully make pushes work in PRs? I'm grasping at straws at this point.
HubbeKing 949b3941ec Switch back to just using a shell script. Should be more sane and easier to debug.
HubbeKing b5b7649960 Use a separate step to generate image tag
HubbeKing 4e71d2ae75 Hopefully finally fix tag syntax
HubbeKing c217022189 Fix workflow file syntax
- &&, not and
- actually add 'push: true' to last step
HubbeKing 87b21c0814 Correct tag syntax and only push latest on a push to master
HubbeKing 4fe27d556a Use a build-job matrix so components can be built in parallel
Hubbe 7312eda8c4 Use ghcr.io repository
Hubbe 034893ffd2 Port travis config to github actions