-
Notifications
You must be signed in to change notification settings - Fork 13
48 lines (36 loc) · 1.09 KB
/
artifacts.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
name: Artifacts
on:
workflow_dispatch:
jobs:
build:
name: Build binaries
strategy:
matrix:
platform: [ubuntu-latest]
runs-on: ${{ matrix.platform }}
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Log in to Docker Hub
uses: docker/login-action@f4ef78c080cd8ba55a85445d5b36e214a81df20a
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Build dockerfile
run: make docker
- name: Build binaries
run: make binaries
- name: Upload Linux AMD64 artifact
uses: actions/upload-artifact@v3
with:
name: boltz-client-linux-amd64
path: bin/linux_amd64
- name: Upload Linux ARM64 artifact
uses: actions/upload-artifact@v3
with:
name: boltz-client-linux-arm64
path: bin/linux_arm64