mirror of
https://github.com/zhayujie/chatgpt-on-wechat.git
synced 2026-06-02 00:57:41 +08:00
fix: update CI workflows for repo rename and add latest tag
This commit is contained in:
3
.github/workflows/deploy-image-arm.yml
vendored
3
.github/workflows/deploy-image-arm.yml
vendored
@@ -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
|
||||||
|
|||||||
7
.github/workflows/deploy-image.yml
vendored
7
.github/workflows/deploy-image.yml
vendored
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user