-
Notifications
You must be signed in to change notification settings - Fork 16
68 lines (66 loc) · 2.22 KB
/
release.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
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
name: Release
on:
push:
tags:
- 'v*'
jobs:
push_to_registry:
name: Push Docker images to Docker Hub
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/[email protected]
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to DockerHub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Push Database to Docker Hub
uses: docker/[email protected]
with:
context: components/database
tags: ictu/quality-time_database:${{ github.ref_name }}
push: true
- name: Push Renderer to Docker Hub
uses: docker/[email protected]
with:
context: components/renderer
tags: ictu/quality-time_renderer:${{ github.ref_name }}
push: true
- name: Push Proxy to Docker Hub
uses: docker/[email protected]
with:
context: components/proxy
tags: ictu/quality-time_proxy:${{ github.ref_name }}
push: true
- name: Push Collector to Docker Hub
uses: docker/[email protected]
with:
context: components
file: components/collector/Dockerfile
tags: ictu/quality-time_collector:${{ github.ref_name }}
push: true
- name: Push Notifier to Docker Hub
uses: docker/[email protected]
with:
context: components
file: components/notifier/Dockerfile
tags: ictu/quality-time_notifier:${{ github.ref_name }}
push: true
- name: Push API-server to Docker Hub
uses: docker/[email protected]
with:
context: components
file: components/api_server/Dockerfile
tags: ictu/quality-time_api_server:${{ github.ref_name }}
push: true
- name: Push Frontend to Docker Hub
uses: docker/[email protected]
with:
context: components/frontend
tags: ictu/quality-time_frontend:${{ github.ref_name }}
push: true
- name: Anchore SBOM Action
uses: anchore/[email protected]