Skip to content

caddy update

caddy update #20

Workflow file for this run

name: Build Jenkins AMI
on:
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Setup `packer`
uses: hashicorp/setup-packer@main
id: setup
with:
version: "latest"
- name: Packer format
id: fmt
run: "packer fmt ."
- name: Packer init
id: init
run: "packer init ."
- name: Validate Packer template
run: packer validate .
- name: Build AMI
env:
AWS_REGION: ${{ secrets.AWS_REGION }}
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
run: packer build .