Skip to content

Commit

Permalink
更新默认镜像仓库
Browse files Browse the repository at this point in the history
  • Loading branch information
caoyingjunz committed Dec 30, 2024
1 parent 2159b75 commit 71c21df
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,13 @@ on:
push:
branches:
- master
pull_request:
branches:
- master

env:
# Use docker.io for Docker Hub if empty
REGISTRY: harbor.cloud.pixiuio.com
REGISTRY: crpi-0ecikjs9ylb2hqyo.cn-hangzhou.personal.cr.aliyuncs.com

jobs:
build:
Expand Down
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@

tag = v3.0.1
releaseName = kubez-ansible
dockerhubUser = harbor.cloud.pixiuio.com
dockerhubUser = crpi-0ecikjs9ylb2hqyo.cn-hangzhou.personal.cr.aliyuncs.com

ALL: run

image:
docker build --no-cache -t $(dockerhubUser)/pixiuio/$(releaseName):$(tag) -f docker/Dockerfile .
docker build --no-cache -t $(dockerhubUser)/pixiu-public/$(releaseName):$(tag) -f docker/Dockerfile .

push: image
docker push $(dockerhubUser)/pixiuio/$(releaseName):$(tag)
docker push $(dockerhubUser)/pixiu-public/$(releaseName):$(tag)

0 comments on commit 71c21df

Please sign in to comment.