Skip to content

Commit 774ec9b

Browse files
committed
Try different condition
1 parent 4dc3206 commit 774ec9b

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
name: default-pipeline
22
on:
33
push:
4-
branches:
5-
- "refs/tags/*"
4+
tags:
5+
- v*
66
jobs:
77
pre-build-checks:
88
runs-on: ubuntu-latest
@@ -22,7 +22,6 @@ jobs:
2222
build-docker-image:
2323
runs-on: ubuntu-latest
2424
needs: [pre-build-checks]
25-
if: ${{ startsWith(github.ref, 'refs/tags/') }}
2625
env:
2726
TAG_NAME: ${{ github.ref_name }}
2827
IMAGE_NAME: ghcr.io/mahesh-hegde/dhee

0 commit comments

Comments
 (0)