feat: initial push
This commit is contained in:
commit
cf505f2d0d
2 changed files with 26 additions and 0 deletions
12
README.md
Normal file
12
README.md
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
# Build Container Images Forgejo Action
|
||||||
|
|
||||||
|
An action that handles building container images from a Spud service definition.
|
||||||
|
|
||||||
|
## Interface
|
||||||
|
|
||||||
|
```yml
|
||||||
|
inputs:
|
||||||
|
service-definition:
|
||||||
|
description: Path to the Spud service definition to use.
|
||||||
|
default: ./service.yml
|
||||||
|
```
|
14
action.yml
Normal file
14
action.yml
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
name: Build Container Images
|
||||||
|
inputs:
|
||||||
|
service-definition:
|
||||||
|
description: Path to the Spud service definition to use.
|
||||||
|
default: ./service.yml
|
||||||
|
runs:
|
||||||
|
using: composite
|
||||||
|
steps:
|
||||||
|
- name: Setup Spud
|
||||||
|
uses: https://forge.karnov.club/spadinastan/setup-spud-action@feat/install-spud-in-env
|
||||||
|
- name: Build images
|
||||||
|
run: |
|
||||||
|
spud build -d ${{ inputs.service-definition }}
|
||||||
|
podman image ls
|
Loading…
Reference in a new issue