This commit is contained in:
Manish Gupta 2023-11-07 15:09:55 +05:30
parent 896c36f38b
commit b1ca89e442

View File

@ -2,6 +2,9 @@
name: Docker Branch Build name: Docker Branch Build
on: on:
push:
branches:
- "*"
pull_request: pull_request:
types: types:
- opened - opened
@ -20,6 +23,7 @@ on:
env: env:
gh_branch: ${{ github.ref_name }} gh_branch: ${{ github.ref_name }}
gh_t_branch: ${{ github.event.pull_request.base.ref }} gh_t_branch: ${{ github.event.pull_request.base.ref }}
TARGET_BRANCH: ''
jobs: jobs:
branch_build_and_push: branch_build_and_push:
@ -42,7 +46,7 @@ jobs:
- uses: ASzc/change-string-case-action@v2 - uses: ASzc/change-string-case-action@v2
id: gh_branch_upper_lower id: gh_branch_upper_lower
with: with:
string: $TARGET_BRANCH string: ${{env.TARGET_BRANCH}}
- uses: mad9000/actions-find-and-replace-string@2 - uses: mad9000/actions-find-and-replace-string@2
id: gh_branch_replace_slash id: gh_branch_replace_slash