Skip to content

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

chore(ci): add step to build bb CLI (#404)

qsliu20175ef9b99ad94a
diff --git a/.github/workflows/build-release-image.yml b/.github/workflows/build-release-image.yml
index ab4ddfaaea..9fe068fa27 100644
--- a/.github/workflows/build-release-image.yml
+++ b/.github/workflows/build-release-image.yml
@@ -18,10 +18,20 @@ jobs:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push
+ id: bytebase_build
uses: docker/build-push-action@v2
with:
push: true
# Extract the version from the tag
tags: bytebase/bytebase:${{ github.ref_name }}
- name: Image digest
- run: echo "Successfully pushed bytebase/bytebase:${{ github.ref_name }} ${{ steps.docker_build.outputs.digest }}"
+ run: echo "Successfully pushed bytebase/bytebase:${{ github.ref_name }} ${{ steps.bytebase_build.outputs.digest }}"
+ - name: Build and push bb CLI
+ id: bb_build
+ uses: docker/build-push-action@v2
+ with:
+ file: Dockerfile.bb
+ push: true
+ tags: bytebase/bb:${{ github.ref_name }}
+ - name: Image digest
+ run: echo "Successfully pushed bytebase/bb:${{ github.ref_name }} ${{ steps.bb_build.outputs.digest }}"