Skip to content

Commit

Permalink
build(GitHub): Include Bazel in docker-ort workflow
Browse files Browse the repository at this point in the history
Signed-off-by: Haiko Schol <[email protected]>
  • Loading branch information
haikoschol committed Mar 20, 2024
1 parent c0b9f50 commit 909d3b9
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/docker-ort.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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

0 comments on commit 909d3b9

Please sign in to comment.