ci: un-pin the bazel version for macOS #212
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: Build and Push Latest Buildfarm Images | |
on: | |
push: | |
branches: | |
- main | |
permissions: | |
contents: read | |
jobs: | |
build: | |
if: github.repository == 'bazelbuild/bazel-buildfarm' | |
name: Build Buildfarm Images | |
runs-on: ubuntu-latest | |
steps: | |
- uses: bazelbuild/setup-bazelisk@v2 | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Login to Bazelbuild Docker Hub | |
uses: docker/login-action@v3 | |
with: | |
username: ${{ secrets.BAZELBUILD_DOCKERHUB_USERNAME }} | |
password: ${{ secrets.BAZELBUILD_DOCKERHUB_TOKEN }} | |
- name: Build Server Image | |
id: buildAndPushServerImage | |
run: bazel run public_push_buildfarm-server -- --tag latest | |
- name: Build Worker Image | |
id: buildAndPushWorkerImage | |
run: bazel run public_push_buildfarm-worker -- --tag latest |