support for journal hibernation #377
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Gazette Continuous Integration | |
on: | |
push: | |
branches: [master] | |
pull_request: | |
branches: [master] | |
jobs: | |
build: | |
runs-on: ubuntu-24.04 | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-tags: true | |
- uses: docker/setup-qemu-action@v3 | |
- uses: docker/setup-buildx-action@v3 | |
- name: Login to GitHub container registry | |
run: | | |
echo "${{ secrets.GITHUB_TOKEN }}" | \ | |
docker login --username ${{ github.actor }} --password-stdin ghcr.io | |
- run: | | |
sudo apt install -y protobuf-compiler librocksdb-dev libsqlite3-dev | |
- run: | | |
echo "VERSION=$(git describe --dirty --tags)" >> "$GITHUB_ENV" | |
# - run: make go-test-ci | |
- run: make go-build go-build-arm64 | |
- uses: docker/build-push-action@v5 | |
with: | |
context: .build | |
file: Dockerfile | |
target: broker | |
platforms: linux/amd64,linux/arm64 | |
tags: "ghcr.io/gazette/broker:${{ env.VERSION }}" | |
push: true | |
#cache-from: type=gha | |
#cache-to: type=gha,mode=max |