From 5ef0be5c8fb9da8bce4d7b7cfe78c16d6526a9b7 Mon Sep 17 00:00:00 2001 From: BugKing Date: Thu, 3 Dec 2020 19:37:06 +0800 Subject: [PATCH] =?UTF-8?q?build:=20=E6=9B=B4=E6=96=B0=20action?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build-push.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-push.yml b/.github/workflows/build-push.yml index c0e5ac9812..c427f2fe42 100644 --- a/.github/workflows/build-push.yml +++ b/.github/workflows/build-push.yml @@ -3,13 +3,15 @@ name: Build Docker Image and Push on: push: branches: - - main + - master - v1* pull_request: branches: - - main + - master - v1* + workflow_dispatch: + jobs: build_push: runs-on: ubuntu-latest @@ -55,4 +57,4 @@ jobs: password: ${{ secrets.DOCKER_HUB_TOKEN }} repository: metersphere/metersphere tag_with_ref: true - build_args: MS_VERSION=${{ env.GITHUB_REF_SLUG }}-${{ env.GITHUB_SHA_SHORT }} \ No newline at end of file + build_args: MS_VERSION=${{ env.GITHUB_REF_SLUG }}-${{ env.GITHUB_SHA_SHORT }}