Skip to content

build: automate VM image build #3

build: automate VM image build

build: automate VM image build #3

Workflow file for this run

name: Build
on:
push:
branches:
- main
pull_request:
jobs:
test:
name: Build VM images
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- name: Build Ubuntu 22.04
run: |
packer build -force ubuntu-2204.json
mkdir ubuntu-2204
tar xvf output-vagrant/package.box -C ubuntu-2204
- name: Build Amazon Linux 2
run: |
packer build -force amazonlinux-2.json
mkdir amazonlinux-2
tar xvf output-vagrant/package.box -C amazonlinux-2