-
Notifications
You must be signed in to change notification settings - Fork 4
53 lines (51 loc) · 1.39 KB
/
git-push-in-master.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
50
51
52
53
name: Push to master
on:
push:
branches: [ master ]
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_master_tags:
strategy:
matrix:
service: [ bot, text, file, torrent ]
uses: ./.github/workflows/docker-get-master-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_master_tags
get_docker_token:
uses: ./.github/workflows/docker-get-token.yml
secrets:
docker-username: ${{ secrets.DOCKER_USERNAME }}
docker-password: ${{ secrets.DOCKER_PASSWORD }}
needs: push_images
clean_beta_images:
strategy:
matrix:
service: [ bot, text, file, torrent ]
uses: ./.github/workflows/docker-clean-beta-images.yml
with:
repository-name: ${{ matrix.service }}
needs: get_docker_token