Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/iamenr0s/packer-qemu-action

This action runs packer build on top of kvm hypervisor.
https://github.com/iamenr0s/packer-qemu-action

continuous-deployment continuous-integration docker dockerfile

Last synced: 2 months ago
JSON representation

This action runs packer build on top of kvm hypervisor.

Awesome Lists containing this project

README

        

Packer build action

This action runs packer build on top of kvm hypervisor

## Inputs

### `templateFile`

**Optional** Packer template file to use for packer build. Default `"packer.json"`.

### `workingDir`

**Optional** Directory where the packer template is located. Default `"."`.

## Outputs

## Example usage

To configure the action simply add the following lines to your .github/workflows/packer-build.yml workflow file:

```
name: Run packer build on a template file

on:
push:
branches:
- 'master'
jobs:
packer_build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Packer build
uses: enr0s/[email protected]
with:
templateFile: 'packer.json'
workingDir: '.'
```