Merge pull request #368 from gkumbhat/update_torch_2_3_1 #281
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
on: | |
push: | |
branches: ["main", "release-*"] | |
paths: | |
- "caikit_nlp" | |
- "README.md" | |
- "pyproject.toml" | |
- "Dockerfile" | |
pull_request: | |
name: Build Image | |
jobs: | |
build-image: | |
name: Build Image | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v3 | |
- name: Build image | |
uses: docker/build-push-action@v5 | |
with: | |
context: . | |
tags: "caikit-nlp:latest" | |
load: true | |
cache-from: type=gha | |
cache-to: type=gha,mode=max |