-
Notifications
You must be signed in to change notification settings - Fork 0
83 lines (75 loc) · 2.44 KB
/
nightly.yaml
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
name: Nightly
on:
schedule:
- cron: '0 0 * * *'
jobs:
test:
uses: ./.github/workflows/test.yaml
with:
branch: ${{ github.ref }}
publish-hamburg-main:
needs: test
uses: ./.github/workflows/publish.yaml
with:
registry: bikenow.vkw.tu-dresden.de
image: ${{ github.repository }}-hamburg
ref_name: main
location: Hamburg
secrets:
NEXUS_DOCKER_PUB_USERNAME: ${{ secrets.NEXUS_DOCKER_PUB_USERNAME }}
NEXUS_DOCKER_PUB_PASSWORD: ${{ secrets.NEXUS_DOCKER_PUB_PASSWORD }}
publish-dresden-main:
needs: test
uses: ./.github/workflows/publish.yaml
with:
registry: bikenow.vkw.tu-dresden.de
image: ${{ github.repository }}-dresden
ref_name: main
location: Dresden
secrets:
NEXUS_DOCKER_PUB_USERNAME: ${{ secrets.NEXUS_DOCKER_PUB_USERNAME }}
NEXUS_DOCKER_PUB_PASSWORD: ${{ secrets.NEXUS_DOCKER_PUB_PASSWORD }}
publish-hamburg-stable:
needs: test
uses: ./.github/workflows/publish.yaml
with:
registry: bikenow.vkw.tu-dresden.de
image: ${{ github.repository }}-hamburg
ref_name: stable
location: Hamburg
secrets:
NEXUS_DOCKER_PUB_USERNAME: ${{ secrets.NEXUS_DOCKER_PUB_USERNAME }}
NEXUS_DOCKER_PUB_PASSWORD: ${{ secrets.NEXUS_DOCKER_PUB_PASSWORD }}
publish-dresden-stable:
needs: test
uses: ./.github/workflows/publish.yaml
with:
registry: bikenow.vkw.tu-dresden.de
image: ${{ github.repository }}-dresden
ref_name: stable
location: Dresden
secrets:
NEXUS_DOCKER_PUB_USERNAME: ${{ secrets.NEXUS_DOCKER_PUB_USERNAME }}
NEXUS_DOCKER_PUB_PASSWORD: ${{ secrets.NEXUS_DOCKER_PUB_PASSWORD }}
publish-hamburg-release:
needs: test
uses: ./.github/workflows/publish.yaml
with:
registry: bikenow.vkw.tu-dresden.de
image: ${{ github.repository }}-hamburg
ref_name: release
location: Hamburg
secrets:
NEXUS_DOCKER_PUB_USERNAME: ${{ secrets.NEXUS_DOCKER_PUB_USERNAME }}
NEXUS_DOCKER_PUB_PASSWORD: ${{ secrets.NEXUS_DOCKER_PUB_PASSWORD }}
publish-dresden-release:
needs: test
uses: ./.github/workflows/publish.yaml
with:
registry: bikenow.vkw.tu-dresden.de
image: ${{ github.repository }}-dresden
ref_name: release
location: Dresden
secrets:
NEXUS_DOCKER_PUB_USERNAME: ${{ secrets.NEXUS_DOCKER_PUB_USERNAME }}
NEXUS_DOCKER_PUB_PASSWORD: ${{ secrets.NEXUS_DOCKER_PUB_PASSWORD }}