generated from mlibrary/python-starter
-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (31 loc) · 1.06 KB
/
build-main.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
name: Docker Build Main and Deploy to Workshop
on:
workflow_run:
workflows: [ 'Run Tests' ]
branches: [ main ]
types: [ completed ]
jobs:
build-unstable:
name: Build unstable ${{ github.sha }}
uses: mlibrary/platform-engineering-workflows/.github/workflows/build-unstable.yml@v1
with:
image_name: ${{ vars.IMAGE_NAME }}
tag: ${{ github.sha }}
dockerfile: Dockerfile
secrets: inherit
deploy-workshop-digifeeds:
needs: build-unstable
name: "Deploy to workshop - digifeeds"
uses: mlibrary/platform-engineering-workflows/.github/workflows/deploy.yml@v1
with:
image: ${{ needs.build-unstable.outputs.image }}
file: environments/digifeeds/workshop/app-image.txt
secrets: inherit
deploy-workshop-hathifiles:
needs: build-unstable
name: "Deploy to workshop - hathifiles"
uses: mlibrary/platform-engineering-workflows/.github/workflows/deploy.yml@v1
with:
image: ${{ needs.build-unstable.outputs.image }}
file: environments/hathifiles/workshop/cli-image.txt
secrets: inherit