File tree Expand file tree Collapse file tree
components/centraldashboard-angular Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ concurrency:
1414 cancel-in-progress : true
1515
1616env :
17- IMG : ghcr.io/kubeflow/kubeflow /centraldashboard-angular
17+ IMG : ghcr.io/kubeflow/dashboard /centraldashboard-angular
1818 TAG : integration-test
1919
2020jobs :
Original file line number Diff line number Diff line change 1+ name : Build & Publish CentralDashboard-Angular Docker image
2+ on :
3+ push :
4+ branches :
5+ - main
6+ - v*-branch
7+ paths :
8+ - components/centraldashboard-angular/**
9+ - releasing/version/VERSION
10+
11+ env :
12+ IMG : ghcr.io/kubeflow/dashboard/centraldashboard-angular
13+
14+ jobs :
15+ push_to_registry :
16+ name : Build & Push image to GHCR
17+ runs-on : ubuntu-22.04
18+ steps :
19+ - name : Checkout
20+ uses : actions/checkout@v4
21+ with :
22+ fetch-depth : 0
23+
24+ - uses : dorny/paths-filter@v3
25+ id : filter
26+ with :
27+ base : ${{ github.ref }}
28+ filters : |
29+ version:
30+ - 'releasing/version/VERSION'
31+
32+ - name : Login to GHCR
33+ uses : docker/login-action@v3
34+ with :
35+ registry : ghcr.io
36+ username : ${{ github.actor }}
37+ password : ${{ secrets.GITHUB_TOKEN }}
38+
39+ - name : Run CentralDashboard-Angular build/push
40+ run : |
41+ cd components/centraldashboard-angular
42+ make docker-build docker-push
43+
44+ - name : Run CentralDashboard-Angular build/push latest
45+ if : github.ref == 'refs/heads/main'
46+ run : |
47+ export TAG=latest
48+ cd components/centraldashboard-angular
49+ make docker-build docker-push
50+
51+ - name : Run CentralDashboard-Angular build/push on Version change
52+ id : version
53+ if : steps.filter.outputs.version == 'true'
54+ run : |
55+ export TAG=$(cat releasing/version/VERSION)
56+ cd components/centraldashboard-angular
57+ make docker-build docker-push
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ concurrency:
1919
2020env :
2121 CENTRALDASHBOARD_IMG : ghcr.io/kubeflow/kubeflow/centraldashboard
22- CENTRALDASHBOARD_ANGULAR_IMG : ghcr.io/kubeflow/kubeflow /centraldashboard-angular
22+ CENTRALDASHBOARD_ANGULAR_IMG : ghcr.io/kubeflow/dashboard /centraldashboard-angular
2323 PROFILE_CONTROLLER_IMG : ghcr.io/kubeflow/kubeflow/profile-controller
2424 KFAM_IMG : ghcr.io/kubeflow/kubeflow/kfam
2525 ADMISSION_WEBHOOK_IMG : ghcr.io/kubeflow/kubeflow/poddefaults-webhook
Original file line number Diff line number Diff line change 1- IMG ?= ghcr.io/kubeflow/kubeflow /centraldashboard-angular
1+ IMG ?= ghcr.io/kubeflow/dashboard /centraldashboard-angular
22TAG ?= $(shell git describe --tags --always --dirty)
33COMMIT = $(shell git rev-parse HEAD)
44
Original file line number Diff line number Diff line change 1818 spec :
1919 containers :
2020 - name : centraldashboard-angular
21- image : ghcr.io/kubeflow/kubeflow /centraldashboard-angular
21+ image : ghcr.io/kubeflow/dashboard /centraldashboard-angular
2222 imagePullPolicy : IfNotPresent
2323 livenessProbe :
2424 httpGet :
Original file line number Diff line number Diff line change @@ -11,8 +11,8 @@ resources:
1111- service.yaml
1212- configmap.yaml
1313images :
14- - name : ghcr.io/kubeflow/kubeflow /centraldashboard-angular
15- newName : ghcr.io/kubeflow/kubeflow /centraldashboard-angular
14+ - name : ghcr.io/kubeflow/dashboard /centraldashboard-angular
15+ newName : ghcr.io/kubeflow/dashboard /centraldashboard-angular
1616 newTag : latest
1717configMapGenerator :
1818- envs :
You can’t perform that action at this time.
0 commit comments