From d19bb68744c561a959e3c9d1efe5e2cfd0758154 Mon Sep 17 00:00:00 2001 From: Thomas Vincent Date: Fri, 26 Apr 2024 15:35:11 +0000 Subject: [PATCH] feat: CI using golang:1.20.11 docker image --- .github/workflows/beats.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/beats.yml b/.github/workflows/beats.yml index 673b8e9..2016055 100644 --- a/.github/workflows/beats.yml +++ b/.github/workflows/beats.yml @@ -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 }} @@ -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 }}