balena-allwinner/.github/workflows/build_and_deploy.yml
Alex Gonzalez e4053e7090 workflows: Add build and deploy on release tag workflow
This workflow will launch a Jenkins build and draft deploy job when a new
tag is made.

Changelog-entry: Add build and deploy workflow
Signed-off-by: Alex Gonzalez <alexg@balena.io>
2022-05-27 17:42:30 +00:00

18 lines
414 B
YAML

name: 'Deploy on release tag'
on:
push:
tags:
- v[0-9]+.[0-9]+.[0-9]+\+?r?e?v?[0-9]?
- v20[0-9][0-9].[0-1]?[1470].[0-9]+
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
release-on-tag:
uses: balena-os/github-workflows/.github/workflows/build_and_deploy.yml@v0.0.5
with:
deployTo: "production"
final: "no"
secrets: inherit