-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
36 lines (36 loc) · 915 Bytes
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# action.yml
name: "Portabledize"
author: "Alban Siffer"
description: "Bundle your app in a systemd portable service"
inputs:
output_dir:
description: "Output directory"
required: false
default: "."
initial_disk_size:
description: "Initial image size in MiB"
required: false
default: "200"
mountpoint:
description: "Temporary image mountpoint"
required: false
default: "/mnt/portabledize"
install_file:
description: "Extra files mapping"
required: false
service_file:
description: "Systemd service file"
required: true
output_file:
description: ""
outputs:
image: # id of output
description: "Path to the image that has been created"
runs:
using: "docker"
image: "Dockerfile"
args:
- "-s ${{ inputs.service_file }}"
- "-d ${{ inputs.output_dir }}"
- "-i ${{ inputs.initial_disk_size }}"
- "-m ${{ inputs.mountpoint }}"