-
Notifications
You must be signed in to change notification settings - Fork 0
100 lines (97 loc) · 3.57 KB
/
Copy pathrelease.yml
File metadata and controls
100 lines (97 loc) · 3.57 KB
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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
name: Release
on:
release:
types: [published]
jobs:
pypi-publish:
uses: pogzyb/tourist/.github/workflows/pypi.yml@main
secrets:
pypi-token: ${{ secrets.PYPI_API_TOKEN }}
pause:
runs-on: ubuntu-latest
needs: pypi-publish
steps:
- name: Wait for PyPi index refresh
run: sleep 60s
ghcr-publish-tourist-app:
uses: pogzyb/tourist/.github/workflows/ghcr.yml@main
needs: [pypi-publish, pause]
with:
context: .
dockerfile: Dockerfile.aws
username: ${{ github.actor }}
image-name: ${{ github.repository }}
image-tag: ${{ github.event.release.tag_name }}
revision: ${{ github.sha }}
created: ${{ github.event.release.created_at }}
mode: app
secrets:
gh-token: ${{ secrets.GITHUB_TOKEN }}
ghcr-publish-tourist-mcp:
uses: pogzyb/tourist/.github/workflows/ghcr.yml@main
needs: [pypi-publish, pause]
with:
context: .
dockerfile: Dockerfile.aws
username: ${{ github.actor }}
image-name: ${{ github.repository }}
image-tag: ${{ github.event.release.tag_name }}
revision: ${{ github.sha }}
created: ${{ github.event.release.created_at }}
mode: mcp
secrets:
gh-token: ${{ secrets.GITHUB_TOKEN }}
ghcr-publish-tourist-aws-app:
uses: pogzyb/tourist/.github/workflows/ghcr.yml@main
needs: [pypi-publish, pause]
with:
context: .
dockerfile: Dockerfile.aws
username: ${{ github.actor }}
image-name: ${{ github.repository }}-aws-app
image-tag: ${{ github.event.release.tag_name }}
revision: ${{ github.sha }}
created: ${{ github.event.release.created_at }}
mode: app
secrets:
gh-token: ${{ secrets.GITHUB_TOKEN }}
ghcr-publish-tourist-azure-app:
uses: pogzyb/tourist/.github/workflows/ghcr.yml@main
needs: [pypi-publish, pause]
with:
context: .
dockerfile: Dockerfile.azure
username: ${{ github.actor }}
image-name: ${{ github.repository }}-azure-app
image-tag: ${{ github.event.release.tag_name }}
revision: ${{ github.sha }}
created: ${{ github.event.release.created_at }}
mode: app
secrets:
gh-token: ${{ secrets.GITHUB_TOKEN }}
ghcr-publish-tourist-azure-mcp:
uses: pogzyb/tourist/.github/workflows/ghcr.yml@main
needs: [pypi-publish, pause]
with:
context: .
dockerfile: Dockerfile.azure
username: ${{ github.actor }}
image-name: ${{ github.repository }}-azure-mcp
image-tag: ${{ github.event.release.tag_name }}
revision: ${{ github.sha }}
created: ${{ github.event.release.created_at }}
mode: mcp
secrets:
gh-token: ${{ secrets.GITHUB_TOKEN }}
ghcr-publish-tourist-deploy:
uses: pogzyb/tourist/.github/workflows/ghcr.yml@main
with:
context: deploy
dockerfile: deploy/Dockerfile
username: ${{ github.actor }}
image-name: ${{ github.repository }}-deploy
image-tag: ${{ github.event.release.tag_name }}
revision: ${{ github.sha }}
created: ${{ github.event.release.created_at }}
secrets:
gh-token: ${{ secrets.GITHUB_TOKEN }}