Skip to content

feat: make obfuscated and self-decrypting ELF binaries for sample aar… #22

feat: make obfuscated and self-decrypting ELF binaries for sample aar…

feat: make obfuscated and self-decrypting ELF binaries for sample aar… #22

Workflow file for this run

name: Multi-arch build
on:
push:
paths-ignore:
- '**.md'
env:
IMAGE_TAG: latest
IMAGE_REGISTRY: quay.io
IMAGE_REPOSITORY: crowdstrike/detection-container
jobs:
build-multiarch-image:
name: Build multi-architecture image
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Install qemu dependency
run: |
sudo apt-get update
sudo apt-get install -y qemu-user-static
- name: Checkout project
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- name: Set up QEMU
uses: docker/setup-qemu-action@29109295f81e9208d7d86ff1c6c12d2833863392 # v3.6.0
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # v3.11.1
with:
platforms: linux/arm64,linux/amd64,linux/s390x,linux/ppc64le
- name: Login to Docker Hub
uses: docker/login-action@184bdaa0721073962dff0199f1fb9940f07167d1 # v3.5.0
with:
registry: ${{ env.IMAGE_REGISTRY }}
username: ${{ secrets.REGISTRY_LOGIN }}
password: ${{ secrets.REGISTRY_PASSWORD }}
- name: Build and push
id: build_image_multiarch
uses: docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # v6.18.0
with:
context: .
file: ./Dockerfile
platforms: linux/arm64,linux/amd64,linux/s390x,linux/ppc64le
push: true
tags: |
${{ env.IMAGE_REGISTRY }}/${{ env.IMAGE_REPOSITORY }}:${{ env.IMAGE_TAG }}
- name: Check manifest
run: |
docker buildx imagetools inspect ${{ env.IMAGE_REGISTRY }}/${{ env.IMAGE_REPOSITORY }}:${{ env.IMAGE_TAG }}