Update buidl_and_push_ghcr.yml
This commit is contained in:
4
.github/workflows/buidl_and_push_ghcr.yml
vendored
4
.github/workflows/buidl_and_push_ghcr.yml
vendored
@@ -31,8 +31,8 @@ jobs:
|
|||||||
# 构建并推送 Docker 镜像
|
# 构建并推送 Docker 镜像
|
||||||
- name: Build and push Docker image
|
- name: Build and push Docker image
|
||||||
run: |
|
run: |
|
||||||
# 明确使用你的个人命名空间
|
# 使用个人命名空间,镜像名改为 my-docs
|
||||||
IMAGE_NAME="ghcr.io/zeroornull/my-image-name"
|
IMAGE_NAME="ghcr.io/zeroornull/my-docs"
|
||||||
echo "Pushing to: $IMAGE_NAME"
|
echo "Pushing to: $IMAGE_NAME"
|
||||||
docker build . --file Dockerfile \
|
docker build . --file Dockerfile \
|
||||||
--tag "$IMAGE_NAME:latest" \
|
--tag "$IMAGE_NAME:latest" \
|
||||||
|
|||||||
Reference in New Issue
Block a user