We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 17020d9 commit 4f1c080Copy full SHA for 4f1c080
1 file changed
.github/workflows/build.yml
@@ -0,0 +1,43 @@
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
41
+ name: docker-credential-helpers
42
+ path: ${{ env.DESTDIR }}/*
43
+ if-no-files-found: error
0 commit comments