Skip to content

Commit

Permalink
feat: CI using golang:1.20.11 docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
vrince committed Apr 26, 2024
1 parent 1c5900f commit d19bb68
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/beats.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ jobs:
arch: [armv7]
beat: [filebeat, metricbeat, packetbeat, heartbeat]

runs-on: golang:1.20.11
runs-on: ubuntu-latest
container:
image: golang:1.20.11

name: ${{ matrix.beat }} ${{ matrix.arch }}

Expand All @@ -33,14 +35,11 @@ jobs:
id: vars
run: echo ::set-output name=tag::${GITHUB_REF#refs/*/}

- uses: uraimo/run-on-arch-action@v2.1.1
name: Build beat (on arch)
- name: Build beat (on arch)
id: build-beat
with:
arch: ${{ matrix.arch }}

githubToken: ${{ github.token }}

run: |
./build.sh ${{ matrix.beat }} ${{ matrix.arch }} ${{ steps.vars.outputs.tag }}
Expand Down

0 comments on commit d19bb68

Please sign in to comment.