From 85794f3e98dcace5e071f2e6afc6157bdc2a580f Mon Sep 17 00:00:00 2001 From: Haiko Schol Date: Fri, 15 Mar 2024 16:28:51 +0700 Subject: [PATCH] build(GitHub): Include Bazel in docker-ort workflow Signed-off-by: Haiko Schol --- .github/workflows/docker-ort.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/.github/workflows/docker-ort.yml b/.github/workflows/docker-ort.yml index b3e20b17841b3..8caa34a44a827 100644 --- a/.github/workflows/docker-ort.yml +++ b/.github/workflows/docker-ort.yml @@ -279,6 +279,25 @@ jobs: build-args: | SWIFT_VERSION=${{ env.SWIFT_VERSION }} + bazel_image: + name: Bazel image + needs: [ base_image ] + runs-on: ubuntu-22.04 + steps: + - name: Checkout default branch + uses: actions/checkout@v4 + - name: Set environment variables + run: | + cat .versions >> $GITHUB_ENV + - name: Build Bazel image + uses: ./.github/actions/ortdocker + with: + name: bazel + token: ${{ secrets.GITHUB_TOKEN }} + version: "${{ env.BAZEL_VERSION }}" + build-args: | + BAZEL_VERSION=${{ env.BAZEL_VERSION }} + # Minimal Runtime ORT image # ------------------------- minimal_image: @@ -413,3 +432,4 @@ jobs: dart=docker-image://${{ env.REGISTRY }}/${{ github.repository }}/dart:latest dotnet=docker-image://${{ env.REGISTRY }}/${{ github.repository }}/dotnet:latest haskell=docker-image://${{ env.REGISTRY }}/${{ github.repository }}/haskell:latest + bazel=docker-image://${{ env.REGISTRY }}/${{ github.repository }}/bazel:latest