Skip to content

Modular logistics and supply chain operating system (LSOS)

Only run build and release from tags

Eugene Dementyevcae2774632be
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index d5691dc0..69e9da13 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -46,7 +46,8 @@ jobs:
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
- - name: Build
+ - name: Build and release
+ if: startsWith(github.ref, 'refs/tags/') && success()
env:
# get tags from the json object and pass as a string-encoded list
tags: "${{ toJSON(fromJSON(steps.meta.outputs.json).tags) }}"