-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (31 loc) · 1.12 KB
/
build-deploy-on-release.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
name: Build and Deploy on Release
on:
release:
types: [ released ]
jobs:
build-production:
name: Build production ${{ github.event.release.tag_name }}
uses: mlibrary/platform-engineering-workflows/.github/workflows/build-production.yml@v1
with:
image_name: ${{ vars.IMAGE_NAME }}
tag: ${{ github.event.release.tag_name }}
dockerfile: Dockerfile
secrets: inherit
deploy-aim-image:
needs: build-production
name: Deploy to aim production
uses: mlibrary/platform-engineering-workflows/.github/workflows/deploy.yml@v1
with:
environment: aim
image: ghcr.io/mlibrary/${{ vars.IMAGE_NAME }}:${{ github.event.inputs.tag }}
file: environments/alma-events/production/web-image.txt
secrets: inherit
deploy-search-image:
needs: build-production
name: Deploy to search production
uses: mlibrary/platform-engineering-workflows/.github/workflows/deploy.yml@v1
with:
environment: search
image: ghcr.io/mlibrary/${{ vars.IMAGE_NAME }}:${{ github.event.inputs.tag }}
file: environments/alma-events/production/web-image.txt
secrets: inherit