Skip to content

Commit

Permalink
update scanner ci with qemu arm64
Browse files Browse the repository at this point in the history
  • Loading branch information
kulukami committed Dec 3, 2024
1 parent 9e9bee3 commit 1c6f0cc
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions .github/workflows/Elkeid_plugin_scanner_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,22 +8,27 @@ on:
jobs:

build_arm64:
runs-on: [self-hosted,linux,ARM64]
runs-on: ubuntu-latest
env:
PLATFORMS: linux/amd64, linux/arm64
continue-on-error: true
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: false
- name: Login to Docker Hub
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
password: ${{secrets.DOCKERHUB_TOKEN}}
username: ${{secrets.DOCKERHUB_USERNAME}}

- name: Set up QEMU
uses: docker/setup-qemu-action@v3
with:
platforms: linux/arm64

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
with:
config: /etc/buildkitd.toml
uses: docker/setup-buildx-action@v3

- name: Build Scanner
run: |
Expand Down

0 comments on commit 1c6f0cc

Please sign in to comment.