Skip to content

fix(notebook): fix registry names in notebook container links (#7717) #1

fix(notebook): fix registry names in notebook container links (#7717)

fix(notebook): fix registry names in notebook container links (#7717) #1

name: Build & Publish CentralDashboard-Angular Docker image
on:
push:
branches:
- master
- v*-branch
paths:
- components/centraldashboard-angular/**
- releasing/version/VERSION
env:
IMG: ghcr.io/kubeflow/kubeflow/centraldashboard-angular
jobs:
push_to_registry:
name: Build & Push image to GHCR
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- 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: Run CentralDashboard-Angular build/push
run: |
cd components/centraldashboard-angular
make docker-build docker-push
- name: Run CentralDashboard-Angular build/push latest
if: github.ref == 'refs/heads/master'
run: |
export TAG=latest
cd components/centraldashboard-angular
make docker-build docker-push
- name: Run CentralDashboard-Angular build/push on Version change
id: version
if: steps.filter.outputs.version == 'true'
run: |
export TAG=$(cat releasing/version/VERSION)
cd components/centraldashboard-angular
make docker-build docker-push