Attempt to fix CI by removing checkout step
This commit is contained in:
parent
b485d77bbf
commit
b2b4de3561
|
|
@ -1,18 +1,16 @@
|
|||
name: Build and Push Edge Proxy Image
|
||||
|
||||
on:
|
||||
create: # 当有新东西被创建时触发
|
||||
tags: # 仅限新标签
|
||||
- 'v*.*.*' # 匹配 v1.0.0, v1.1.0 等
|
||||
create:
|
||||
tags:
|
||||
- 'v*.*.*'
|
||||
|
||||
jobs:
|
||||
build-and-push:
|
||||
# (关键) 确保这个标签与您在RK3588上注册Runner时设置的标签一致
|
||||
runs-on: arm64
|
||||
|
||||
steps:
|
||||
- name: Checkout Repository
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Login to Gitea Container Registry
|
||||
run: |
|
||||
|
|
@ -20,10 +18,8 @@ jobs:
|
|||
|
||||
- name: Build and Push Image
|
||||
run: |
|
||||
# 从标签名 (e.g., "v1.0.0") 中提取版本号
|
||||
VERSION=$(echo ${{ gitea.ref_name }} | sed 's/v//')
|
||||
|
||||
# (!!重要!!) 请将 "guanyuankai" 替换为您的Gitea用户名或组织名
|
||||
IMAGE_PATH="http://192.168.0.75:3000/guanyuankai/bonus-edge-proxy:${VERSION}"
|
||||
LATEST_PATH="http://192.168.0.75:3000/guanyuankai/bonus-edge-proxy:latest"
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue