File tree Expand file tree Collapse file tree 3 files changed +15
-11
lines changed Expand file tree Collapse file tree 3 files changed +15
-11
lines changed Original file line number Diff line number Diff line change 8
8
jobs :
9
9
release :
10
10
runs-on : ubuntu-latest
11
- environment : release
12
11
steps :
13
12
- uses : actions/checkout@v4
14
13
- uses : actions/setup-go@v5
15
14
with :
16
15
go-version : stable
16
+ - uses : docker/setup-buildx-action@v3
17
+ - uses : docker/login-action@v3
18
+ with :
19
+ username : ${{ secrets.DOCKERHUB_USERNAME }}
20
+ password : ${{ secrets.DOCKERHUB_TOKEN }}
17
21
- uses : goreleaser/goreleaser-action@v6
18
22
with :
19
23
args : release --clean
22
26
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
23
27
BUILD_BRANCH : ${{ vars.BUILD_BRANCH }}
24
28
BUILD_USER : ${{ vars.BUILD_USER }}
25
- - uses : docker/setup-buildx-action@v3
26
- - uses : docker/login-action@v3
27
- with :
28
- username : ${{ secrets.DOCKERHUB_USERNAME }}
29
- password : ${{ secrets.DOCKERHUB_TOKEN }}
30
- - uses : docker/build-push-action@v6
31
- with :
32
- push : true
33
- tags : theo01/prometheus-dummy-exporter:latest
Original file line number Diff line number Diff line change 1
1
name : test
2
2
3
- on : push
3
+ on :
4
+ push :
5
+ tags-ignore :
6
+ - v*
4
7
5
8
jobs :
6
9
test :
Original file line number Diff line number Diff line change @@ -35,6 +35,12 @@ archives:
35
35
- goos : windows
36
36
format : zip
37
37
38
+ dockers :
39
+ - image_templates :
40
+ - theo01/prometheus-dummy-exporter
41
+ extra_files :
42
+ - example/simple.yml
43
+
38
44
changelog :
39
45
sort : asc
40
46
filters :
You can’t perform that action at this time.
0 commit comments