Merge pull request #192 from balena-os/alexgg/workflows

workflows: Add build and deploy on release tag workflow
This commit is contained in:
bulldozer-balena[bot] 2022-06-08 18:04:08 +00:00 committed by GitHub
commit dffa907835
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

18
.github/workflows/build_and_deploy.yml vendored Normal file
View file

@ -0,0 +1,18 @@
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