Skip to content

test builds 9

test builds 9 #12

name: build-linux-arm64
on:
push:
branches:
- "**"
jobs:
build-linux:
runs-on: ubuntu-latest
services:
registry:
image: registry:2
ports:
- 5000:5000
steps:
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
with:
driver-opts: network=host
- name: Build and push to local registry
uses: docker/build-push-action@v6
with:
platforms: linux/arm64
push: true
tags: localhost:5000/virgil-crypto-c-arm64:latest
- name: Copy artifacts
run: |
DOCKER_CONTAINER_NAME=$(docker container list -l | grep virgil-crypto-c-arm64 | awk 'NF>1{print $NF}')
docker cp $DOCKER_CONTAINER_NAME:/home/build-dir/install ./install
ls -l install