File tree 3 files changed +59
-7
lines changed
3 files changed +59
-7
lines changed Original file line number Diff line number Diff line change 1
1
name : Upload Docker images to ghcr.io
2
2
on :
3
- workflow_run :
4
- workflows : ["Tests"]
5
- tags : [ 'v*' ]
6
- types :
7
- - completed
3
+ release :
4
+ types : [created]
8
5
jobs :
9
6
docker :
10
7
name : Build image
11
- if : ${{ github.event.workflow_run.conclusion == 'success' }}
12
8
runs-on : ubuntu-latest
13
9
steps :
14
10
- name : Check out code
28
24
type=semver,pattern={{major}}.{{minor}}
29
25
type=semver,pattern={{major}}.{{minor}}.{{patch}}
30
26
- name : Login to ghcr.io
31
- if : github.event_name != 'pull_request'
32
27
uses : docker/login-action@v2
33
28
with :
34
29
registry : ghcr.io
Original file line number Diff line number Diff line change
1
+ name : Build packages for Rockylinux 9
2
+
3
+ on :
4
+ workflow_run :
5
+ workflows : ["Tests"]
6
+ branches : [ main ]
7
+ types :
8
+ - completed
9
+ push :
10
+ tags :
11
+ - v.*
12
+ jobs :
13
+ build-packages-rockylinux-9 :
14
+ name : Build packages for Rockylinux 9
15
+ if : ${{ github.event.workflow_run.conclusion == 'success' }}
16
+ runs-on : ubuntu-latest
17
+ strategy :
18
+ matrix :
19
+ go :
20
+ - ^1
21
+ steps :
22
+ - name : Set up Go
23
+ uses : actions/setup-go@v3
24
+ with :
25
+ go-version : ${{ matrix.go }}
26
+ - name : Set up Ruby for package_cloud uploader to work
27
+ uses : ruby/setup-ruby@v1
28
+ with :
29
+ ruby-version : ' 2.7' # Version range or exact version of a Ruby version to use, using semvers version range syntax.
30
+ - name : Install packaging dependencies
31
+ run : |
32
+ sudo apt-get install libcairo2-dev mercurial pkg-config wget -y
33
+ gem install package_cloud
34
+ - name : Check out code into the Go module directory
35
+ uses : actions/checkout@v3
36
+ with :
37
+ fetch-depth : 0
38
+ - name : Set up QEMU
39
+ uses : docker/setup-qemu-action@v2
40
+ - name : Log in to GitHub Docker Registry
41
+ uses : docker/login-action@v2
42
+ with :
43
+ registry : ghcr.io
44
+ username : ${{ github.actor }}
45
+ password : ${{ secrets.GITHUB_TOKEN }}
46
+ - name : Create packages
47
+ env :
48
+ BUILD_PACKAGES : true
49
+ PACKAGECLOUD_TOKEN : ${{ secrets.PACKAGECLOUD_TOKEN }}
50
+ run : |
51
+ wget "https://raw.githubusercontent.com/go-graphite/helper-scripts/main/build.sh" && chmod +x ./build.sh
52
+ ./build.sh carbonapi "rockylinux:9"
Original file line number Diff line number Diff line change @@ -17,6 +17,11 @@ Changes
17
17
18
18
CHANGELOG
19
19
---------
20
+ ** 0.16.0.1**
21
+ - [ Build] Fix automation that builds docker images
22
+ - [ Build] Add rockylinux-9 packages (RHEL 9)
23
+ - [ Build] Update build version of golang to 1.19.4
24
+
20
25
** 0.16.0**
21
26
- [ Improvement] Deprecate and remove carbonzipper binary (thx to @msaf1980 )
22
27
- [ Improvement] Remove deprecated carbonsearch support
You can’t perform that action at this time.
0 commit comments