test
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
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
This commit is contained in:
28
.gitea/workflows/build-rootfs-template.yml
Normal file
28
.gitea/workflows/build-rootfs-template.yml
Normal file
@@ -0,0 +1,28 @@
|
||||
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 }}"
|
||||
Reference in New Issue
Block a user