fix: update CI workflows for repo rename and add latest tag

This commit is contained in:
zhayujie
2026-04-16 21:57:20 +08:00
parent ba3f66d3d1
commit 2384bd0e10
2 changed files with 7 additions and 3 deletions

View File

@@ -51,7 +51,8 @@ jobs:
uses: docker/metadata-action@v4 uses: docker/metadata-action@v4
with: with:
images: | images: |
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} ${{ env.REGISTRY }}/zhayujie/chatgpt-on-wechat
${{ env.REGISTRY }}/zhayujie/cowagent
tags: | tags: |
type=raw,value=latest-arm64,enable={{is_default_branch}} type=raw,value=latest-arm64,enable={{is_default_branch}}
type=ref,event=branch,suffix=-arm64 type=ref,event=branch,suffix=-arm64

View File

@@ -16,6 +16,7 @@ on:
env: env:
REGISTRY: ghcr.io REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }} IMAGE_NAME: ${{ github.repository }}
DOCKERHUB_IMAGE: zhayujie/chatgpt-on-wechat
jobs: jobs:
build-and-push-image: build-and-push-image:
@@ -47,8 +48,10 @@ jobs:
uses: docker/metadata-action@v4 uses: docker/metadata-action@v4
with: with:
images: | images: |
${{ env.IMAGE_NAME }} zhayujie/chatgpt-on-wechat
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} zhayujie/cowagent
${{ env.REGISTRY }}/zhayujie/chatgpt-on-wechat
${{ env.REGISTRY }}/zhayujie/cowagent
tags: | tags: |
type=raw,value=latest,enable={{is_default_branch}} type=raw,value=latest,enable={{is_default_branch}}
type=ref,event=branch type=ref,event=branch