build: 更新 action
This commit is contained in:
parent
02681ef715
commit
5ef0be5c8f
|
@ -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 }}
|
||||
build_args: MS_VERSION=${{ env.GITHUB_REF_SLUG }}-${{ env.GITHUB_SHA_SHORT }}
|
||||
|
|
Loading…
Reference in New Issue