-
Notifications
You must be signed in to change notification settings - Fork 8
49 lines (37 loc) · 1.04 KB
/
tag-beta.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
on:
push:
tags:
- "v[12].[0-9]+.[0-9]+-beta.[0-9]+"
name: "Beta Tag"
# Secrets:
# * JM_GITLAB_REF - Branch to trigger CI on. (Even though the name includes "ref", GitLab does only allow branch names)
# * JM_GITLAB_TOKEN - Auth token to trigger GitLab CI
# * JM_GITLAB_URL - CI Trigger URL
jobs:
release:
name: "Release"
uses: ./.github/workflows/part_release.yml
with:
releaseName: "${{ github.ref_name }}"
build:
name: "Build"
uses: ./.github/workflows/part_build.yml
with:
dockerTag: "${{ github.ref_name }}"
docs:
name: "Docs"
needs: ['release']
uses: ./.github/workflows/part_docs.yml
with:
releaseName: "${{ github.ref_name }}"
deploy:
name: "Deploy"
needs: ['build']
uses: ./.github/workflows/part_deploy.yml
with:
environment: staging
version: "${{ github.ref_name }}"
secrets:
JM_GITLAB_TOKEN: ${{ secrets.JM_GITLAB_TOKEN }}
JM_GITLAB_REF: ${{ secrets.JM_GITLAB_REF }}
JM_GITLAB_URL: ${{ secrets.JM_GITLAB_URL }}