-
Notifications
You must be signed in to change notification settings - Fork 12
36 lines (30 loc) · 953 Bytes
/
cd-release.yaml
File metadata and controls
36 lines (30 loc) · 953 Bytes
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
name: CD Pipeline
permissions:
contents: write
issues: write
on:
push:
branches: [ main, master ]
jobs:
semver:
uses: woped/devops/.github/workflows/semver-and-release-notes.yaml@main
approval:
uses: woped/devops/.github/workflows/manual-approval.yaml@main
needs: semver
with:
VERSION: ${{ needs.semver.outputs.VERSION }}
gh_release:
uses: woped/devops/.github/workflows/github-release.yaml@main
needs: [ semver, approval ]
with:
VERSION: ${{ needs.semver.outputs.VERSION }}
RELEASE_NOTES: ${{ needs.semver.outputs.RELEASE_NOTES }}
docker_build_and_push:
uses: woped/devops/.github/workflows/docker-build-and-push-maven.yaml@main
needs: [ semver, approval ]
with:
version: ${{ needs.semver.outputs.VERSION }}
java_version: '21'
secrets:
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}