-
-
Notifications
You must be signed in to change notification settings - Fork 4
72 lines (63 loc) · 1.75 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
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:noble'
- 'ubuntu:jammy'
- 'ubuntu:focal'
- 'linuxmintd/mint22-amd64'
- 'linuxmintd/mint21.3-amd64'
- 'linuxmintd/mint21.2-amd64'
- 'linuxmintd/mint21.1-amd64'
- 'linuxmintd/mint21-amd64'
- 'linuxmintd/mint20-amd64'
- 'debian:bookworm'
- 'debian:bullseye'
- 'opensuse/leap:15.6'
- 'opensuse/leap:15.5'
- 'opensuse/leap:15.4'
- 'opensuse/leap:15.3'
- 'opensuse/leap:15.2'
#- 'fedora:41'
- 'fedora:40'
- 'fedora:39'
- 'rockylinux/rockylinux:9.4'
- 'rockylinux/rockylinux:8.10'
- 'manjarolinux/base'
#- 'funtoo/stage3-generic_64'
steps:
- name: Checkout repository
uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f #v4.1.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@e92390c5fb421da1463c202d546fed0ec5c39f20 #v3.1.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