-
Notifications
You must be signed in to change notification settings - Fork 4
46 lines (44 loc) · 1.15 KB
/
git-push-in-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
name: Push in beta
on:
push:
branches:
- 'beta-*'
- 'BETA-*'
if: >
github.ref_type == 'branch' &&
github.base_ref == 'refs/heads/alpha/' &&
github.ref != 'refs/heads/alpha' &&
startsWith(github.ref, 'refs/heads/alpha/')
jobs:
build_core:
uses: ./.github/workflows/java-build-core.yml
with:
java-version: '20'
build_jars:
strategy:
matrix:
service: [ bot, text, file, torrent ]
uses: ./.github/workflows/java-build-jars.yml
with:
repository-name: ${{ matrix.service }}
java-version: '20'
needs: build_core
get_beta_tags:
strategy:
matrix:
service: [ bot, text, file, torrent ]
uses: ./.github/workflows/docker-get-beta-tags.yml
with:
repository-name: ${{ matrix.service }}
needs: build_jars
push_images:
strategy:
matrix:
service: [ bot, text, file, torrent ]
uses: ./.github/workflows/docker-push-images.yml
with:
repository-name: ${{ matrix.service }}
secrets:
docker-username: ${{ secrets.DOCKER_USERNAME }}
docker-password: ${{ secrets.DOCKER_PASSWORD }}
needs: get_beta_tags