commit cf505f2d0d4718ff48d92f2e8bd85f068e49f9f4 Author: Marc Cataford Date: Thu Nov 7 22:31:44 2024 -0500 feat: initial push diff --git a/README.md b/README.md new file mode 100644 index 0000000..833ff28 --- /dev/null +++ b/README.md @@ -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 +``` diff --git a/action.yml b/action.yml new file mode 100644 index 0000000..d00bad1 --- /dev/null +++ b/action.yml @@ -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