Skip to content

initial commit

initial commit #3

Workflow file for this run

name: Build
on:
push:
tags:
- '[0-9]+.[0-9]+.[0-9]+'
jobs:
ubuntu_2204_php81_origin_deb:
runs-on: ubuntu-22.04
timeout-minutes: 60
strategy:
matrix:
arch: ["arm64v8", "amd64"]
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: true
- name: Setup QEMU
uses: docker/setup-qemu-action@v3
with:
platforms: arm64
- name: Setup Buildx
uses: docker/setup-buildx-action@v3
- name: Build Container
uses: docker/build-push-action@v6
with:
build-args: ARCH=${{ matrix.arch }}
cache-from: type=gha
cache-to: type=gha,mode=max
context: .
file: ./build/ubuntu2204/Dockerfile
load: true
tags: "pskel-build-ubuntu2204-${{ matrix.arch }}"
- name: Build Extension with Container
run: |
mkdir "artifacts"
docker run --env VERSION="${{ github.ref_name }}" --rm -v"$(pwd)/artifacts:/tmp/artifacts" -i "pskel-build-ubuntu2204-${{ matrix.arch }}"
- name: Upload deb Packages
uses: actions/upload-artifact@v4
with:
name: ubuntu_2204_debs-${{ matrix.arch }}
path: artifacts/