-
-
Notifications
You must be signed in to change notification settings - Fork 2
34 lines (30 loc) · 1.1 KB
/
release-dockers.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
name: Bump version and release dockers
on:
push:
branches: main
jobs:
bump-version:
uses: openclimatefix/.github/.github/workflows/[email protected]
secrets:
PAT_TOKEN: ${{ secrets.PAT_TOKEN }}
release-forecast-inference-docker:
needs: bump-version
uses: openclimatefix/.github/.github/workflows/[email protected]
with:
image_base_name: pvsite_forecast
docker_file: infrastructure/Dockerfile.forecast-inference
tag_value: ${{ needs.bump-version.outputs.new_ver }}
checkout_submodules: true
secrets:
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
release-database-cleanup-docker:
needs: bump-version
uses: openclimatefix/.github/.github/workflows/[email protected]
with:
image_base_name: pvsite_database_cleanup
docker_file: infrastructure/Dockerfile.database-cleanup
tag_value: ${{ needs.bump-version.outputs.new_ver }}
secrets:
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}