KEP-2170: Bind repository into the build environment instead of filec… #1378
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: Publish Training Operator Core Images | |
on: | |
- push | |
- pull_request | |
jobs: | |
core: | |
name: Publish Image | |
uses: ./.github/workflows/build-and-publish-images.yaml | |
with: | |
component-name: ${{ matrix.component-name }} | |
platforms: ${{ matrix.platforms }} | |
dockerfile: ${{ matrix.dockerfile }} | |
context: ${{ matrix.context }} | |
tag-prefix: ${{ matrix.tag-prefix }} | |
secrets: | |
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }} | |
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }} | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- component-name: training-operator | |
dockerfile: build/images/training-operator/Dockerfile | |
platforms: linux/amd64,linux/arm64,linux/ppc64le | |
tag-prefix: v1 | |
- component-name: training-operator | |
dockerfile: cmd/training-operator.v2alpha1/Dockerfile | |
platforms: linux/amd64,linux/arm64,linux/ppc64le | |
tag-prefix: v2alpha1 | |
- component-name: kubectl-delivery | |
dockerfile: build/images/kubectl-delivery/Dockerfile | |
platforms: linux/amd64,linux/arm64,linux/ppc64le | |
tag-prefix: v1 | |
- component-name: storage-initializer | |
dockerfile: sdk/python/kubeflow/storage_initializer/Dockerfile | |
context: sdk/python/kubeflow/storage_initializer | |
platforms: linux/amd64,linux/arm64 | |
tag-prefix: v1 | |
- component-name: trainer-huggingface | |
dockerfile: sdk/python/kubeflow/trainer/Dockerfile | |
context: sdk/python/kubeflow/trainer | |
platforms: linux/amd64,linux/arm64 | |
tag-prefix: v1 |