Skip to content

ci: un-pin the bazel version for macOS #212

ci: un-pin the bazel version for macOS

ci: un-pin the bazel version for macOS #212

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