Skip to content

try workflow build in container #45

try workflow build in container

try workflow build in container #45

Workflow file for this run

name: 'Build Basic'
on:
push:
jobs:
build-remix-sunxi:
runs-on: ["self-hosted"]
container:
image: ghcr.io/pantacor/kas/kas:next-v2
volumes:
- shared:/shared
steps:
- name: chown
run: sudo chown -R builder:builder $GITHUB_WORKSPACE
- name: shared
run: sudo mkdir -p /shared/sstate && sudo chown builder:builder /shared/sstate && sudo mkdir -p /shared/dldir && sudo chown builder:builder /shared/dldir
- name: Build Kas
run: git fetch origin $GITHUB_SHA && rm -rf build/ && git reset --hard $GITHUB_SHA && git clean -f -d && env && kas build .github/configs/sunxi/sunxi-orange-pi-3lts-remix-scarthgap.yaml:.github/configs/shared-vols.yaml
- name: chown
run: sudo chown -R builder:builder $GITHUB_WORKSPACE
- name: chmod
run: sudo chmod -R 777 $GITHUB_WORKSPACE
- name: chmod2
run: sudo chmod -R 777 /__w/
- name: Archive production artifacts
uses: actions/upload-artifact@v4
with:
name: images
path: |
build/tmp-*/deploy/images/*/*.wic.*