Update to FreeBSD 14.1-RELEASE (#33) #195
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: box | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
jobs: | |
validate: | |
runs-on: ubuntu-latest | |
name: Validate | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v4 | |
- name: Setup Packer | |
uses: hashicorp/setup-packer@main | |
- name: Initialize Packer | |
run: packer init . | |
env: | |
PACKER_GITHUB_API_TOKEN: "${{ secrets.GITHUB_TOKEN }}" | |
- name: Validate Template | |
run: packer validate . | |
qemu: | |
runs-on: macos-13 | |
name: QEMU Builder | |
needs: validate | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v4 | |
- name: Initialize Packer | |
run: packer init . | |
env: | |
PACKER_GITHUB_API_TOKEN: "${{ secrets.GITHUB_TOKEN }}" | |
- name: Install QEMU | |
run: brew install qemu | |
- name: Build the Box | |
run: packer build -only=qemu.freebsd . | |
env: | |
ntpdate_hosts: time.apple.com | |
virtualbox: | |
runs-on: macos-13 | |
name: VirtualBox Builder | |
needs: validate | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v4 | |
- name: Initialize Packer | |
run: packer init . | |
env: | |
PACKER_GITHUB_API_TOKEN: "${{ secrets.GITHUB_TOKEN }}" | |
- name: Install VirtualBox | |
run: brew install --cask virtualbox | |
- name: Build the Box | |
run: packer build -only=virtualbox-iso.freebsd . | |
env: | |
ntpdate_hosts: time.apple.com |