File tree Expand file tree Collapse file tree 1 file changed +43
-0
lines changed Expand file tree Collapse file tree 1 file changed +43
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : build
2
+
3
+ on :
4
+ workflow_dispatch :
5
+ push :
6
+ branches :
7
+ - ' master'
8
+ tags :
9
+ - ' v*'
10
+ pull_request :
11
+
12
+ env :
13
+ DESTDIR : ./bin
14
+
15
+ jobs :
16
+ build :
17
+ runs-on : ubuntu-latest
18
+ steps :
19
+ -
20
+ name : Checkout
21
+ uses : actions/checkout@v3
22
+ -
23
+ name : Set up QEMU
24
+ uses : docker/setup-qemu-action@v2
25
+ -
26
+ name : Set up Docker Buildx
27
+ uses : docker/setup-buildx-action@v2
28
+ -
29
+ name : Build
30
+ uses : docker/bake-action@v2
31
+ with :
32
+ targets : binaries
33
+ -
34
+ name : Move artifacts
35
+ run : |
36
+ mv ${{ env.DESTDIR }}/**/* ${{ env.DESTDIR }}/
37
+ -
38
+ name : Upload artifacts
39
+ uses : actions/upload-artifact@v3
40
+ with :
41
+ name : docker-credential-helpers
42
+ path : ${{ env.DESTDIR }}/*
43
+ if-no-files-found : error
You can’t perform that action at this time.
0 commit comments