adding webserver and a few scripts to be tested #189
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Packer-Check | |
on: [push, pull_request] | |
jobs: | |
validate: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Packer Init | |
uses: hashicorp/packer-github-actions@master | |
with: | |
command: init | |
target: ./images/*.pkr.hcl | |
- name: Packer Validate | |
uses: hashicorp/packer-github-actions@master | |
with: | |
command: validate | |
target: ./images/*.pkr.hcl | |
- name: Packer Format Check | |
uses: hashicorp/packer-github-actions@master | |
with: | |
command: fmt | |
arguments: -check -diff | |
target: ./images/*.pkr.hcl |