Skip to content

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

chore: update release yaml

d-bytebaseb0044cef4c68
diff --git a/.github/workflows/build-chatgpt.yml b/.github/workflows/build-chatgpt.yml
deleted file mode 100644
index 86ce118449..0000000000
--- a/.github/workflows/build-chatgpt.yml
+++ /dev/null
@@ -1,37 +0,0 @@
-name: Build Test Image
-
-on:
- # push:
- # branches:
- # - main
- workflow_dispatch:
-
-concurrency:
- group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
- cancel-in-progress: true
-
-# A workflow run is made up of one or more jobs that can run sequentially or in parallel.
-jobs:
- docker:
- runs-on: self-hosted
- steps:
- - uses: actions/checkout@v4
- - name: Login to DockerHub
- uses: docker/login-action@v3
- with:
- username: ${{ secrets.DDOCKERHUB_USERNAME }}
- password: ${{ secrets.DDOCKERHUB_TOKEN }}
- - uses: depot/setup-action@v1
- - name: Build and push
- id: docker_build
- uses: depot/build-push-action@v1
- with:
- context: .
- project: ${{ secrets.DEPOT_PROJECT}}
- token: ${{ secrets.DEPOT_TOKEN }}
- file: scripts/Dockerfile.render-demo
- platforms: linux/amd64
- push: true
- tags: dbytebase/chatgpt:release-ci
- - name: Image digest
- run: echo "Successfully pushed bytebase/bytebase:release-ci " ${{ steps.docker_build.outputs.digest }}
diff --git a/.github/workflows/build-push-release-image.yml b/.github/workflows/build-push-release-image.yml
index b757cbab10..df50e8a4b9 100644
--- a/.github/workflows/build-push-release-image.yml
+++ b/.github/workflows/build-push-release-image.yml
@@ -62,5 +62,23 @@ jobs:
GIT_COMMIT=${{ env.GIT_COMMIT }}
BUILD_TIME=${{ env.BUILD_TIME }}
BUILD_USER=${{ env.BUILD_USER }}
+ - uses: actions/checkout@v4
+ - name: Login to DockerHub
+ uses: docker/login-action@v3
+ with:
+ username: ${{ secrets.DDOCKERHUB_USERNAME }}
+ password: ${{ secrets.DDOCKERHUB_TOKEN }}
+ - uses: depot/setup-action@v1
+ - name: Build and push
+ id: docker_build
+ uses: depot/build-push-action@v1
+ with:
+ context: .
+ project: ${{ secrets.DEPOT_PROJECT}}
+ token: ${{ secrets.DEPOT_TOKEN }}
+ file: scripts/Dockerfile.render-demo
+ platforms: linux/amd64
+ push: true
+ tags: dbytebase/chatgpt:release-ci
- name: Image digest
run: echo "Successfully pushed bytebase/bytebase:${{ env.RELEASE_VERSION }} ${{ steps.bytebase_build.outputs.digest }}"