Skip to content

Commit 89ba15e

Browse files
committed
fixed: branch ref
1 parent cc937a1 commit 89ba15e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/docker-image.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ env:
1717
# There is a single job in this workflow. It's configured to run on the latest available version of Ubuntu.
1818
jobs:
1919
build-and-push-image:
20-
# if: ${{ (github.event.pull_request.merged == true) || (github.base_ref == '31-fix-cidi-pipeline') }}
20+
if: ${{ (github.event.pull_request.merged == true) || (github.ref_name == '31-fix-cidi-pipeline') }}
2121
runs-on: ubuntu-latest
2222
# Sets the permissions granted to the `GITHUB_TOKEN` for the actions in this job.
2323
permissions:
@@ -52,8 +52,8 @@ jobs:
5252
tags: |
5353
type=raw,value=latest,enable=${{ github.base_ref == 'main' }}
5454
type=semver,pattern={{version}},value=${{ env.VER }},enable=${{ github.base_ref == 'main' }}
55-
type=raw,value=dev,enable=${{ (github.base_ref == 'dev') || (github.branch == 'dev') }}
56-
type=raw,value=cicd-test,enable=${{ github.branch == '31-fix-cidi-pipeline' }}
55+
type=raw,value=dev,enable=${{ (github.base_ref == 'dev') || (github.ref_name == 'dev') }}
56+
type=raw,value=cicd-test,enable=${{ github.ref_name == '31-fix-cidi-pipeline' }}
5757
5858
# js: added in for multi arch building
5959
- name: Set up QEMU

0 commit comments

Comments
 (0)