-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (38 loc) · 1.46 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
name: Nightly
on:
schedule:
# Download of the Photon DB is super slow (graphhopper server is the bottleneck).
# We don't want to block our CI/CD pipeline with this and daily updates are also not really required.
# Therefore, we switch to a weekly update cycle (and a time where we probably don't need our CI/CD pipleline anyway).
- cron: '0 7 * * 7'
jobs:
publish-deutschland-main:
uses: ./.github/workflows/publish.yaml
with:
context: .
registry: bikenow.vkw.tu-dresden.de
image: ${{ github.repository }}-deutschland
branch: main
secrets:
NEXUS_DOCKER_PUB_USERNAME: ${{ secrets.NEXUS_DOCKER_PUB_USERNAME }}
NEXUS_DOCKER_PUB_PASSWORD: ${{ secrets.NEXUS_DOCKER_PUB_PASSWORD }}
publish-deutschland-stable:
uses: ./.github/workflows/publish.yaml
with:
context: .
registry: bikenow.vkw.tu-dresden.de
image: ${{ github.repository }}-deutschland
branch: stable
secrets:
NEXUS_DOCKER_PUB_USERNAME: ${{ secrets.NEXUS_DOCKER_PUB_USERNAME }}
NEXUS_DOCKER_PUB_PASSWORD: ${{ secrets.NEXUS_DOCKER_PUB_PASSWORD }}
publish-deutschland-release:
uses: ./.github/workflows/publish.yaml
with:
context: .
registry: bikenow.vkw.tu-dresden.de
image: ${{ github.repository }}-deutschland
branch: release
secrets:
NEXUS_DOCKER_PUB_USERNAME: ${{ secrets.NEXUS_DOCKER_PUB_USERNAME }}
NEXUS_DOCKER_PUB_PASSWORD: ${{ secrets.NEXUS_DOCKER_PUB_PASSWORD }}