Commit Graph

20 Commits (0bb524bf387d6184b18de0994b8c706d03c9884a)

Author SHA1 Message Date
Mike Lang 4dbe1dce5e Use cache in readonly mode for PRs in forked repos 4 weeks ago
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.
4 weeks ago
Hubbe 4238ab5d9d Use "latest" in workflow manifest 4 weeks ago
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
1 month ago
Mike Lang bbcbed8c51 try again to disable fail-fast in github 1 year ago
Mike Lang 634ae6b327 github actions: Don't stop builds if any build fails 1 year ago
Mike Lang 76daceff19 bus_analyzer: initial implementation 1 year ago
Mike Lang 91d99bb22b Also build zulip_bots in CI 1 year ago
Mike Lang e5b1a57f37 github actions: Actually build the right commit 2 years ago
Mike Lang 50b830bf82 github actions: check out submodules when building 2 years ago
Mike Lang 4f2c5c48ec build chat_archiver in CI 2 years ago
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.
3 years ago
HubbeKing 949b3941ec Switch back to just using a shell script. Should be more sane and easier to debug. 3 years ago
HubbeKing b5b7649960 Use a separate step to generate image tag 3 years ago
HubbeKing 4e71d2ae75 Hopefully finally fix tag syntax 3 years ago
HubbeKing c217022189 Fix workflow file syntax
- &&, not and
- actually add 'push: true' to last step
3 years ago
HubbeKing 87b21c0814 Correct tag syntax and only push latest on a push to master 3 years ago
HubbeKing 4fe27d556a Use a build-job matrix so components can be built in parallel 3 years ago
Hubbe 7312eda8c4 Use ghcr.io repository 3 years ago
Hubbe 034893ffd2 Port travis config to github actions 3 years ago