File tree Expand file tree Collapse file tree 2 files changed +52
-52
lines changed
Expand file tree Collapse file tree 2 files changed +52
-52
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ name : Build packages for Ubuntu 24.04
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-ubuntu-2404 :
14+ name : Build packages for Ubuntu 24.04
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@v6
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@v5
36+ with :
37+ fetch-depth : 0
38+ - name : Set up QEMU
39+ uses : docker/setup-qemu-action@v3
40+ - name : Log in to GitHub Docker Registry
41+ uses : docker/login-action@v3
42+ with :
43+ registry : ghcr.io
44+ username : ${{ github.actor }}
45+ password : ${{ secrets.GITHUB_TOKEN }}
46+ - name : Create packages for ubuntu 24.04
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 "ubuntu:24.04"
You can’t perform that action at this time.
0 commit comments