-
-
Notifications
You must be signed in to change notification settings - Fork 4
75 lines (66 loc) · 1.76 KB
/
gh-actions-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
69
70
71
72
73
74
75
name: 'GH Actions - Release'
on:
release:
types:
- created
- edited
jobs:
build:
name: Build
runs-on: ubuntu-latest
environment:
name: production
strategy:
fail-fast: false
matrix:
FROM:
- 'ubuntu:lunar'
- 'ubuntu:jammy'
- 'ubuntu:focal'
- 'ubuntu:bionic'
- 'linuxmintd/mint21.1-amd64'
- 'linuxmintd/mint21-amd64'
- 'linuxmintd/mint20-amd64'
- 'debian:bookworm'
- 'debian:bullseye'
- 'debian:buster'
- 'opensuse/leap:15.5'
- 'opensuse/leap:15.4'
- 'opensuse/leap:15.3'
- 'opensuse/leap:15.2'
- 'fedora:38'
- 'fedora:37'
- 'fedora:36'
- 'fedora:35'
- 'fedora:34'
- 'rockylinux:9.1'
- 'rockylinux:9.0'
- 'rockylinux:8.7'
- 'rockylinux:8.6'
- 'rockylinux:8.5'
- 'manjarolinux/base'
- 'funtoo/stage3-generic_64'
steps:
- name: Checkout repository
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 #v3.5.3
with:
fetch-depth: 2
submodules: false
- name: Extract tag name etc
shell: bash
run: |
echo "TAG_NAME=$(echo ${GITHUB_REF#refs/tags/} | sed 's/\//_/g')" >> $GITHUB_ENV
- name: Test tag name etc
run: |
echo "${TAG_NAME}"
- name: Docker Login
uses: docker/login-action@465a07811f14bebb1938fbed4728c6a1ff8901fc #v2.2.0
with:
username: ${{ secrets.DOCKER_HUB_USER }}
password: ${{ secrets.DOCKER_HUB_KEY }}
- name: Run CI
env:
FROM: ${{ matrix.FROM }}
MY_OS_NAME: linux
IS_RELEASE: 1
run: script/cibuild