File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Build and Release
2+
3+ on :
4+ push :
5+ tags :
6+ - " v*.*.*"
7+
8+ concurrency :
9+ group : ${{ github.workflow }}-${{ github.ref }}
10+ cancel-in-progress : true
11+
12+ jobs :
13+ build :
14+
15+ runs-on : ubuntu-latest
16+
17+ permissions :
18+ contents : write # Allows the action to create and write to the release
19+
20+ steps :
21+ - uses : actions/checkout@v4
22+
23+ - name : autogen
24+ run : autoreconf --install --force
25+
26+ - name : Install dependencies
27+ run : |
28+ sudo apt-get update
29+ sudo apt-get install -y libssh-dev libsystemd-dev
30+
31+ - name : configure
32+ run : ./configure
33+
34+ - name : Run make
35+ run : make
36+
37+ - name : Run check
38+ run : make check
39+
40+ - name : Run distcheck
41+ run : make distcheck
42+
43+ - name : Create Release and Upload Assets
44+ uses : softprops/action-gh-release@v2
45+ with :
46+ draft : true
47+ prerelease : true
48+ files : |
49+ lbbs-*.tar.gz
Original file line number Diff line number Diff line change @@ -2,7 +2,9 @@ name: Docker Image CI
22
33on :
44 push :
5- branches : [ "main" ]
5+ branches :
6+ - " main"
7+ - " v*.*"
68
79concurrency :
810 group : ${{ github.workflow }}-${{ github.ref }}
Original file line number Diff line number Diff line change 1010name : Publish Docker image
1111
1212on :
13- release :
14- types : [published]
13+ push :
14+ tags :
15+ - " v*.*.*"
1516
1617concurrency :
1718 group : ${{ github.workflow }}-${{ github.ref }}
6061 context : .
6162 file : ./Dockerfile/dockerfile.bbsd
6263 push : true
64+ provenance : true
65+ sbom : true
6366 tags : |
6467 ${{ env.BBSD_IMAGE }}:${{ github.ref_name }}
6568 ${{ env.BBSD_IMAGE }}:latest
Original file line number Diff line number Diff line change @@ -2,9 +2,12 @@ name: Makefile CI
22
33on :
44 push :
5- branches : [ "v1.7" ]
5+ branches :
6+ - " main"
7+ - " v*.*"
68 pull_request :
7- branches : [ "v1.7" ]
9+ branches :
10+ - " main"
811
912concurrency :
1013 group : ${{ github.workflow }}-${{ github.ref }}
You can’t perform that action at this time.
0 commit comments