-
Notifications
You must be signed in to change notification settings - Fork 60
49 lines (47 loc) · 1.57 KB
/
release.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
name: Release on manual push
on:
workflow_dispatch:
inputs:
release_version:
description: 'Release version'
required: true
jobs:
version:
uses: walt-id/waltid-identity/.github/workflows/version.yml@266f5c09359450c39019a6da38f2b331e7122918
with:
preferred: ${{ inputs.release_version }}
gradle-build:
uses: walt-id/waltid-identity/.github/workflows/build-gradle.yml@266f5c09359450c39019a6da38f2b331e7122918
secrets: inherit
needs: version
with:
version: ${{ needs.version.outputs.release_version }}
publish: true
docker-build:
uses: walt-id/waltid-identity/.github/workflows/build-docker.yml@266f5c09359450c39019a6da38f2b331e7122918
secrets: inherit
needs: version
with:
version: ${{ needs.version.outputs.release_version }}
tag: latest
publish: true
deploy:
uses: walt-id/waltid-identity/.github/workflows/deployment.yml@dd9e94a2b08b2f9917d56543061963e6757def1f
secrets: inherit
needs: [ version, gradle-build, docker-build ]
with:
version: ${{ needs.version.outputs.release_version }}
deployment: prod
namespace: default
portals: portals
tag:
uses: walt-id/waltid-identity/.github/workflows/tag.yml@266f5c09359450c39019a6da38f2b331e7122918
needs: [ version, deploy ]
with:
version: ${{ needs.version.outputs.release_version }}
release:
uses: walt-id/waltid-identity/.github/workflows/changelog.yml@266f5c09359450c39019a6da38f2b331e7122918
secrets: inherit
needs: [ tag ]
with:
tag: ${{ needs.tag.outputs.tag }}