Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
Create push-dockerhub.yml
天舟2c57bc6d021f
diff --git a/.github/workflows/push-dockerhub.yml b/.github/workflows/push-dockerhub.ymlnew file mode 100644index 0000000000..23073eeb9f--- /dev/null+++ b/.github/workflows/push-dockerhub.yml@@ -0,0 +1,36 @@+# This is a basic workflow to help you get started with Actions++name: Build and push image to docker hub++# Controls when the workflow will run+on:+ # Triggers the workflow on push or pull request events but only for the main branch+ push:+ branches: [ main ]++ # Allows you to run this workflow manually from the Actions tab+ workflow_dispatch:++# A workflow run is made up of one or more jobs that can run sequentially or in parallel+jobs:+ docker:+ runs-on: ubuntu-latest+ steps:+ -+ name: Set up Docker Buildx+ uses: docker/setup-buildx-action@v1+ -+ name: Login to DockerHub+ uses: docker/login-action@v1+ with:+ username: ${{ secrets.DOCKERHUB_USERNAME }}+ password: ${{ secrets.DOCKERHUB_TOKEN }}+ -+ name: Build and push+ uses: docker/build-push-action@v2+ with:+ push: true+ tags: bytebase/bytebase:dev-ci+ -+ name: Image digest+ run: echo "Successfully pushed bytebase/bytebase:dev-ci ${{ steps.docker_build.outputs.digest }}"