idkyet-builder-action/builder/action.yml

51 lines
1.5 KiB
YAML
Raw Permalink Normal View History

2023-10-13 22:34:39 +02:00
name: 'idkyet builder'
description: 'builder for the idkyet linux project'
inputs:
layer_config_file:
description: 'layer config file'
required: true
out_dir:
description: 'out directory'
required: true
version:
description: 'version for release'
required: true
2025-01-24 12:43:03 +01:00
registry_username:
description: 'username for registry'
required: true
registry_password:
description: 'password for registry'
required: true
2023-10-13 22:34:39 +02:00
sb_db_key:
description: 'secure_boot db key to sign efi'
required: false
sb_db_pem:
description: 'secure_boot db pem to sign efi'
required: false
2023-12-16 16:24:56 +01:00
api_auth_token:
description: 'api_auth_token if needed to download base images'
required: false
2025-01-29 15:56:24 +01:00
gpg_sign_key:
description: 'gpg key to sign images'
required: false
2023-12-16 16:24:56 +01:00
2023-10-13 22:34:39 +02:00
#outputs:
# hashes:
# description: 'json dict of hashes of all files'
runs:
2024-04-03 17:56:31 +02:00
using: "composite"
steps:
- name: Build image
uses: docker://git.fml128.ch/fml128/idkyet-builder:2025.03.140102
2024-04-03 17:56:31 +02:00
with:
args: build ${{ inputs.layer_config_file }}
2025-01-21 11:45:02 +01:00
env:
INPUT_VERSION: ${{ inputs.version }}
INPUT_OUT_DIR: ${{ inputs.out_dir }}
2025-01-24 12:43:03 +01:00
INPUT_REGISTRY_USERNAME: ${{ inputs.registry_username }}
INPUT_REGISTRY_PASSWORD: ${{ inputs.registry_password }}
2025-01-21 11:45:02 +01:00
INPUT_SB_DB_KEY: ${{ inputs.sb_db_key }}
INPUT_SB_DB_PEM: ${{ inputs.sb_db_pem }}
INPUT_API_AUTH_TOKEN: ${{ inputs.api_auth_token }}
2025-02-04 09:52:55 +01:00
GPG_SIGN_KEY: ${{ inputs.gpg_sign_key }}