ci: 镜像路径 dev/ezbookkeeping → zhengchen.tao/ezbookkeeping
仓库已转移到 zhengchen.tao 命名空间,build-image.yml 里的 OCI source label / image tags / build summary 三处硬编码路径同步更新,否则 push 会推到不存在的 dev 命名空间。 NAS 上 nas-infra/ezbookkeeping/docker-compose.yml 的 image 路径仍需手动更新。
This commit is contained in:
@@ -95,11 +95,11 @@ jobs:
|
||||
# - revision 把构建时的 commit full SHA 烙进镜像 manifest,
|
||||
# docker inspect 能反推回源码版本
|
||||
labels: |
|
||||
org.opencontainers.image.source=https://git.zhengchentao.win/dev/ezbookkeeping
|
||||
org.opencontainers.image.source=https://git.zhengchentao.win/zhengchen.tao/ezbookkeeping
|
||||
org.opencontainers.image.revision=${{ steps.meta.outputs.full_sha }}
|
||||
tags: |
|
||||
git.zhengchentao.win/dev/ezbookkeeping:${{ steps.meta.outputs.image_tag }}
|
||||
git.zhengchentao.win/dev/ezbookkeeping:latest
|
||||
git.zhengchentao.win/zhengchen.tao/ezbookkeeping:${{ steps.meta.outputs.image_tag }}
|
||||
git.zhengchentao.win/zhengchen.tao/ezbookkeeping:latest
|
||||
|
||||
- name: Build summary
|
||||
# 把构建出的镜像 tag 与源 commit 显式列在 Action run summary 区,
|
||||
@@ -115,7 +115,7 @@ jobs:
|
||||
echo "| 源分支 | \`${{ inputs.branch || github.ref_name }}\` |"
|
||||
echo "| 源 commit (full) | \`${{ steps.meta.outputs.full_sha }}\` |"
|
||||
echo "| 源 commit (short) | \`${{ steps.meta.outputs.image_tag }}\` |"
|
||||
echo "| 镜像 tag | \`git.zhengchentao.win/dev/ezbookkeeping:${{ steps.meta.outputs.image_tag }}\` + \`:latest\` |"
|
||||
echo "| 镜像 tag | \`git.zhengchentao.win/zhengchen.tao/ezbookkeeping:${{ steps.meta.outputs.image_tag }}\` + \`:latest\` |"
|
||||
} >> "$GITHUB_STEP_SUMMARY"
|
||||
|
||||
deploy:
|
||||
|
||||
Reference in New Issue
Block a user