chore(deps): bump the actions-minor group across 1 directory with 4 u… #463
This file contains hidden or 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: Next CLI container build | |
| on: | |
| workflow_dispatch: | |
| push: | |
| branches: | |
| - main | |
| paths-ignore: docs/ | |
| env: | |
| REGISTRY: ghcr.io | |
| IMAGE_NAME: ${{ github.repository }} | |
| INIT_IMAGE_NAME: ${{ github.repository }}-init | |
| KIT_SERVE_IMAGE: ${{ github.repository }}-kserve | |
| KUBEFLOW_IMAGE: ${{ github.repository }}-kubeflow | |
| NEXT_TAG: next | |
| permissions: | |
| id-token: write | |
| contents: read | |
| attestations: write | |
| packages: write | |
| jobs: | |
| docker-image-build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Set up QEMU | |
| uses: docker/setup-qemu-action@96fe6ef7f33517b61c61be40b68a1882f3264fb8 # v4.2.0 | |
| - name: Set up Docker Buildx | |
| uses: docker/setup-buildx-action@37fe631027851001ddb9b187196cc803df7f5f0e # v4.3.0 | |
| - name: Login to ghcr.io | |
| uses: docker/login-action@dbcb813823bdd20940b903addbd779551569679f # v4.6.0 | |
| with: | |
| registry: ${{ env.REGISTRY }} | |
| username: ${{ github.actor }} | |
| password: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Checkout | |
| uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| - name: Build and push base Kit container | |
| id: build-kit-container | |
| uses: docker/build-push-action@53b7df96c91f9c12dcc8a07bcb9ccacbed38856a # v7.3.0 | |
| with: | |
| platforms: linux/amd64,linux/arm64 | |
| push: true | |
| context: . | |
| file: build/dockerfiles/Dockerfile | |
| build-args: | | |
| KIT_VERSION=${{ github.ref_name }} | |
| tags: | | |
| ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ env.NEXT_TAG }} | |
| annotations: | | |
| index:org.opencontainers.image.description=Kit CLI container built from source | |
| index:org.opencontainers.image.source=https://github.com/kitops-ml/kitops | |
| index:org.opencontainers.image.licenses=Apache-2.0 | |
| - name: Build and push Kit init container | |
| id: build-kit-init-container | |
| uses: docker/build-push-action@53b7df96c91f9c12dcc8a07bcb9ccacbed38856a # v7.3.0 | |
| with: | |
| platforms: linux/amd64,linux/arm64 | |
| push: true | |
| context: build/dockerfiles/init | |
| file: build/dockerfiles/init/Dockerfile | |
| build-args: | | |
| KIT_BASE_IMAGE=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}@${{ steps.build-kit-container.outputs.digest }} | |
| tags: | | |
| ${{ env.REGISTRY }}/${{ env.INIT_IMAGE_NAME }}:${{ env.NEXT_TAG }} | |
| annotations: | | |
| index:org.opencontainers.image.description=Kit CLI init container | |
| index:org.opencontainers.image.source=https://github.com/kitops-ml/kitops | |
| index:org.opencontainers.image.licenses=Apache-2.0 | |
| - name: Build and push Kit KServe container | |
| id: build-kit-serve-container | |
| uses: docker/build-push-action@53b7df96c91f9c12dcc8a07bcb9ccacbed38856a # v7.3.0 | |
| with: | |
| platforms: linux/amd64,linux/arm64 | |
| push: true | |
| context: build/dockerfiles/KServe | |
| file: build/dockerfiles/KServe/Dockerfile | |
| build-args: | | |
| KIT_BASE_IMAGE=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}@${{ steps.build-kit-container.outputs.digest }} | |
| tags: | | |
| ${{ env.REGISTRY }}/${{ env.KIT_SERVE_IMAGE }}:${{ env.NEXT_TAG }} | |
| annotations: | | |
| index:org.opencontainers.image.description=KitOps KServe container | |
| index:org.opencontainers.image.source=https://github.com/kitops-ml/kitops | |
| index:org.opencontainers.image.licenses=Apache-2.0 | |
| - name: Build and push Kubeflow Pipeline components container | |
| id: build-kubeflow-container | |
| uses: docker/build-push-action@53b7df96c91f9c12dcc8a07bcb9ccacbed38856a # v7.3.0 | |
| with: | |
| platforms: linux/amd64,linux/arm64 | |
| push: true | |
| context: build/dockerfiles/kubeflow-components | |
| file: build/dockerfiles/kubeflow-components/Dockerfile | |
| build-args: | | |
| KIT_BASE_IMAGE=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}@${{ steps.build-kit-container.outputs.digest }} | |
| tags: | | |
| ${{ env.REGISTRY }}/${{ env.KUBEFLOW_IMAGE }}:${{ env.NEXT_TAG }} | |
| annotations: | | |
| index:org.opencontainers.image.description=KitOps Kubeflow Pipeline Components | |
| index:org.opencontainers.image.source=https://github.com/kitops-ml/kitops | |
| index:org.opencontainers.image.licenses=Apache-2.0 |