Skip to content

Commit 303fb7c

Browse files
refactor(.github/workflows): 移除冗余调试步骤并优化Docker镜像标签
1 parent 3f368c1 commit 303fb7c

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

.github/workflows/github.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ on:
44
push:
55
branches:
66
- main
7-
workflow_dispatch:
87

98
jobs:
109
build:
@@ -31,15 +30,11 @@ jobs:
3130
username: ${{ github.actor }} # GitHub 用户名
3231
password: ${{ secrets.GITHUB_TOKEN }} # GitHub 自动生成的令牌
3332

34-
# 添加调试步骤
35-
- name: Test Network Connection
36-
run: curl -I https://download.pytorch.org/whl/rocm6.2
37-
3833
# 构建并推送 Docker 镜像
3934
- name: Build and push Docker image to GitHub Container Registry
4035
uses: docker/build-push-action@v3
4136
with:
4237
context: . # 当前目录作为构建上下文
4338
file: ./Dockerfile # Dockerfile 路径
4439
push: true # 推送镜像
45-
tags: ghcr.io/inknight-dednet/comfy_container_ui/c_c_u:latest # 镜像推送到 GitHub 包注册表
40+
tags: ghcr.io/inknight-dednet/comfy_container_ui:latest # 镜像推送到 GitHub 包注册表

0 commit comments

Comments
 (0)