chore: update node to 24 for crud-web-apps (#749) #2
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: Build & Publish JWA Docker image | |
| on: | |
| push: | |
| branches: | |
| - main | |
| - v*-branch | |
| - notebooks-v1 | |
| paths: | |
| - components/crud-web-apps/jupyter/** | |
| - components/crud-web-apps/common/** | |
| - releasing/version/VERSION | |
| env: | |
| IMG: ghcr.io/kubeflow/notebooks/jupyter-web-app | |
| ARCH: linux/amd64,linux/ppc64le,linux/arm64 | |
| jobs: | |
| push_to_registry: | |
| name: Build & Push image to GHCR Hub | |
| runs-on: ubuntu-22.04 | |
| defaults: | |
| run: | |
| working-directory: components/crud-web-apps/jupyter | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - uses: dorny/paths-filter@v3 | |
| id: filter | |
| with: | |
| base: ${{ github.ref }} | |
| filters: | | |
| version: | |
| - 'releasing/version/VERSION' | |
| - name: Login to GHCR | |
| uses: docker/login-action@v3 | |
| with: | |
| registry: ghcr.io | |
| username: ${{ github.actor }} | |
| password: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Setup QEMU | |
| uses: docker/setup-qemu-action@v3 | |
| - name: Setup Docker Buildx | |
| uses: docker/setup-buildx-action@v3 | |
| - name: Build and push multi-arch docker image | |
| run: make docker-build-push-multi-arch | |
| - name: Build and push latest multi-arch docker image | |
| if: github.ref == 'refs/heads/notebooks-v1' | |
| run: TAG=latest make docker-build-push-multi-arch | |
| - name: Build and push multi-arch docker image on Version change | |
| id: version | |
| if: steps.filter.outputs.version == 'true' | |
| run: TAG=$(cat ../../../releasing/version/VERSION) make docker-build-push-multi-arch | |