Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

chore(action-image): latest or versioned (#17254)

p0ny5301360a988d
diff --git a/.github/workflows/build-push-action-image.yml b/.github/workflows/build-push-action-image.yml
index a4ce9e8ea2..3a70c16076 100644
--- a/.github/workflows/build-push-action-image.yml
+++ b/.github/workflows/build-push-action-image.yml
@@ -43,7 +43,6 @@ jobs:
push: true
tags: |
bytebase/bytebase-action:${{ env.IMAGE_TAG }}
- bytebase/bytebase-action:latest
build-args: |
VERSION=${{ env.IMAGE_TAG }}
GIT_COMMIT=${{ env.GIT_COMMIT }}
@@ -79,7 +78,6 @@ jobs:
push: true
tags: |
bytebase/bytebase-action:${{ env.IMAGE_TAG }}-debian
- bytebase/bytebase-action:latest-debian
build-args: |
VERSION=${{ env.IMAGE_TAG }}
GIT_COMMIT=${{ env.GIT_COMMIT }}
\ No newline at end of file
diff --git a/.github/workflows/docker-tag-latest.yml b/.github/workflows/docker-tag-latest.yml
index c276e51032..2e33d191db 100644
--- a/.github/workflows/docker-tag-latest.yml
+++ b/.github/workflows/docker-tag-latest.yml
@@ -17,6 +17,8 @@ jobs:
RELEASE_VERSION=${GITHUB_REF_NAME#release/}
echo version: ${RELEASE_VERSION}
docker buildx imagetools create -t bytebase/bytebase:latest bytebase/bytebase:${RELEASE_VERSION}
+ docker buildx imagetools create -t bytebase/bytebase-action:latest bytebase/bytebase-action:${RELEASE_VERSION}
+ docker buildx imagetools create -t bytebase/bytebase-action:latest-debian bytebase/bytebase-action:${RELEASE_VERSION}-debian
- name: Login to Aliyun Container Registry
uses: docker/login-action@v3
with:
@@ -29,3 +31,7 @@ jobs:
echo version: ${RELEASE_VERSION}
docker buildx imagetools create -t registry.cn-shanghai.aliyuncs.com/bytebase/bytebase:latest bytebase/bytebase:${RELEASE_VERSION}
docker buildx imagetools create -t registry.cn-shanghai.aliyuncs.com/bytebase/bytebase:${RELEASE_VERSION} bytebase/bytebase:${RELEASE_VERSION}
+ docker buildx imagetools create -t registry.cn-shanghai.aliyuncs.com/bytebase/bytebase-action:${RELEASE_VERSION} bytebase/bytebase-action:${RELEASE_VERSION}
+ docker buildx imagetools create -t registry.cn-shanghai.aliyuncs.com/bytebase/bytebase-action:${RELEASE_VERSION}-debian bytebase/bytebase-action:${RELEASE_VERSION}-debian
+ docker buildx imagetools create -t registry.cn-shanghai.aliyuncs.com/bytebase/bytebase-action:latest bytebase/bytebase-action:${RELEASE_VERSION}
+ docker buildx imagetools create -t registry.cn-shanghai.aliyuncs.com/bytebase/bytebase-action:latest-debian bytebase/bytebase-action:${RELEASE_VERSION}-debian