Skip to content

Commit 1de0e4f

Browse files
committed
only build docker image in the right moment
Signed-off-by: Luiz Oliveira <ziuloliveira@gmail.com>
1 parent e9d61c8 commit 1de0e4f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/build.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ jobs:
3131
name: Building
3232
runs-on: ubuntu-latest
3333
needs: [versioning, test]
34+
if: github.ref_name == 'refs/heads/main' || github.event_name == 'release'
3435
outputs:
3536
version: ${{needs.versioning.outputs.FullSemVer}}
3637
steps:

0 commit comments

Comments
 (0)