mirror of
https://github.com/fleetbase/fleetbase.git
synced 2026-01-06 06:15:51 +00:00
Only run build and release from tags
This commit is contained in:
3
.github/workflows/ci.yml
vendored
3
.github/workflows/ci.yml
vendored
@@ -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) }}"
|
||||
|
||||
Reference in New Issue
Block a user