Testing a Drone to GitHub Actions migration #1
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: Build | |
on: | |
pull_request: | |
# TODO: Remove workflow_dispatch later | |
workflow_dispatch: | |
jobs: | |
build: | |
name: Linux | |
runs-on: ubuntu-latest | |
container: grafana/alloy-build-image:v0.1.8 | |
strategy: | |
matrix: | |
os: [linux] | |
include: | |
- os: linux | |
arch: amd64 | |
- os: linux | |
arch: arm64 | |
- os: linux | |
arch: ppc64le | |
- os: linux | |
arch: s390x | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Set up Go 1.23 | |
uses: actions/setup-go@v5 | |
- run: make generate-ui | |
- run: GO_TAGS="builtinassets promtail_journal_enabled" GOOS=linux GOARCH=arm64 GOARM= \ | |
make alloy |