Artifacts #114
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Artifacts | |
on: | |
workflow_dispatch: | |
push: | |
tags: | |
- v* | |
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 |