Some checks failed
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / build-rootfs-per-version (push) Failing after 31s
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / generate-changelogs (push) Has been skipped
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / build-and-push-docker-images (push) Successful in 20s
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / generate-build-info (push) Successful in 20s
29 lines
683 B
YAML
29 lines
683 B
YAML
name: Build RootFS for ${{ inputs.version }}
|
|
|
|
on:
|
|
workflow_call:
|
|
inputs:
|
|
version:
|
|
required: true
|
|
type: string
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: vm-docker-build2
|
|
steps:
|
|
- name: Checkout repo
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Set up scripts
|
|
run: chmod +x scripts/*.sh
|
|
|
|
- name: Build rootfs
|
|
run: ./scripts/build-rootfs.sh "${{ inputs.version }}"
|
|
|
|
- name: Validate rootfs
|
|
run: ./scripts/validate-rootfs.sh "${{ inputs.version }}"
|
|
|
|
- name: Upload to upload-repo
|
|
run: |
|
|
./scripts/upload-rootfs.sh "${{ inputs.version }}" "${{ secrets.GIT_USERNAME }}" "${{ secrets.GIT_PASSWORD }}"
|