-
Notifications
You must be signed in to change notification settings - Fork 3
59 lines (58 loc) · 1.84 KB
/
continuous-deployment-workflow.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
name: cd
on:
push:
tags:
- "[0-9]+.[0-9]+.[0-9]+"
jobs:
deploy:
name: Deploy
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- name: Build ghcr.io/day8/core
uses: elgohr/Publish-Docker-Github-Action@v4
with:
name: day8/core
tag_names: true
tags: "latest"
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GLOBAL_TOKEN_FOR_GITHUB }}
workdir: core
- name: Build ghcr.io/day8/chrome-latest
uses: elgohr/Publish-Docker-Github-Action@v4
with:
name: day8/chrome-latest
tag_names: true
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GLOBAL_TOKEN_FOR_GITHUB }}
workdir: chrome-latest
- name: Build ghcr.io/day8/chrome-87
uses: elgohr/Publish-Docker-Github-Action@v4
with:
name: day8/chrome-87
tag_names: true
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GLOBAL_TOKEN_FOR_GITHUB }}
workdir: chrome-87
# - name: Build ghcr.io/day8/chrome-56
# uses: elgohr/Publish-Docker-Github-Action@v4
# with:
# name: day8/chrome-56
# tag_names: true
# registry: ghcr.io
# username: ${{ github.repository_owner }}
# password: ${{ secrets.GLOBAL_TOKEN_FOR_GITHUB }}
# workdir: chrome-56
- name: Slack notification
uses: lazy-actions/slatify@master
if: always()
with:
type: ${{ job.status }}
job_name: dev-ci Docker Image Release
channel: '#lib-robots'
url: ${{ secrets.SLACK_WEBHOOK }}
commit: true
token: ${{ secrets.GLOBAL_TOKEN_FOR_GITHUB }}