Skip to content

Commit

Permalink
chore: remove personal prefix
Browse files Browse the repository at this point in the history
Signed-off-by: warjiang <1096409085@qq.com>
  • Loading branch information
warjiang committed Jun 12, 2024
1 parent bd7b8bf commit beb212c
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/push-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ on:
push:
branches:
- main
- refactor/dashboard
- feature/*

jobs:
Expand Down Expand Up @@ -37,7 +36,7 @@ jobs:
runs-on: ubuntu-latest
needs: [ "build-fronted" ]
env:
IMAGE_NAME: warjiang/karmada-dashboard-web
IMAGE_NAME: karmada/karmada-dashboard-web
BINARY_NAME: karmada-dashboard-web
steps:
- name: Checkout
Expand All @@ -52,10 +51,10 @@ jobs:
echo "arch=$(go env GOHOSTARCH)" >> $GITHUB_OUTPUT
echo "image_name=$IMAGE_NAME" >> $GITHUB_OUTPUT
echo "binary_name=$BINARY_NAME" >> $GITHUB_OUTPUT
- name: Login to Docker Hub
- name: Login to DockerHub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
username: ${{ secrets.DOCKERHUB_USER_NAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build karmada-dashboard-web binary
run: make bin-karmada-dashboard-web
Expand Down Expand Up @@ -88,10 +87,11 @@ jobs:
BUILD_PLATFORMS=${{ steps.misc.outputs.os }}/${{ steps.misc.outputs.arch }}
build-and-push-api:
runs-on: ubuntu-latest
env:
IMAGE_NAME: warjiang/karmada-dashboard-api
IMAGE_NAME: karmada/karmada-dashboard-api
BINARY_NAME: karmada-dashboard-api
steps:
- name: Checkout
Expand All @@ -106,10 +106,10 @@ jobs:
echo "arch=$(go env GOHOSTARCH)" >> $GITHUB_OUTPUT
echo "image_name=$IMAGE_NAME" >> $GITHUB_OUTPUT
echo "binary_name=$BINARY_NAME" >> $GITHUB_OUTPUT
- name: Login to Docker Hub
- name: Login to DockerHub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
username: ${{ secrets.DOCKERHUB_USER_NAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Extract metadata for the Docker image
id: meta
Expand Down
2 changes: 1 addition & 1 deletion artifacts/dashboard/karmada-dashboard-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ spec:
- --insecure-bind-address=0.0.0.0
- --bind-address=0.0.0.0
name: karmada-dashboard-api
image: warjiang/karmada-dashboard-api:refactor-dashboard
image: karmada/karmada-dashboard-api:refactor-dashboard
imagePullPolicy: IfNotPresent
livenessProbe:
failureThreshold: 8
Expand Down
2 changes: 1 addition & 1 deletion artifacts/dashboard/karmada-dashboard-web.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ spec:
- --insecure-bind-address=0.0.0.0
- --bind-address=0.0.0.0
name: karmada-dashboard-web
image: warjiang/karmada-dashboard-web:refactor-dashboard
image: karmada/karmada-dashboard-web:refactor-dashboard
imagePullPolicy: IfNotPresent
livenessProbe:
failureThreshold: 8
Expand Down
4 changes: 2 additions & 2 deletions pkg/client/init.go
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ func (in *configBuilder) buildApiConfig() (*clientcmdapi.Config, error) {

func isKubeInitialized() bool {
if kubernetesRestConfig == nil || kubernetesApiConfig == nil {
klog.Errorf(`warjiang/karmada-dashboard/client' package has not been initialized properly. Run 'client.InitKubeConfig(...)' to initialize it. `)
klog.Errorf(`karmada/karmada-dashboard/client' package has not been initialized properly. Run 'client.InitKubeConfig(...)' to initialize it. `)
return false
}
return true
Expand Down Expand Up @@ -164,7 +164,7 @@ func GetKubeConfig() (*rest.Config, *clientcmdapi.Config, error) {

func isKarmadaInitialized() bool {
if karmadaRestConfig == nil || karmadaApiConfig == nil {
klog.Errorf(`warjiang/karmada-dashboard/client' package has not been initialized properly. Run 'client.InitKarmadaConfig(...)' to initialize it. `)
klog.Errorf(`karmada/karmada-dashboard/client' package has not been initialized properly. Run 'client.InitKarmadaConfig(...)' to initialize it. `)
return false
}
return true
Expand Down

0 comments on commit beb212c

Please sign in to comment.