Skip to content

chore(deps): bump docker/setup-qemu-action from 3.3.0 to 3.4.0 (#47) #13

chore(deps): bump docker/setup-qemu-action from 3.3.0 to 3.4.0 (#47)

chore(deps): bump docker/setup-qemu-action from 3.3.0 to 3.4.0 (#47) #13

Workflow file for this run

name: Pack Virtual Machine Images
on:
push:
branches:
- main
permissions:
contents: read
jobs:
workflow_changes:
with:
what_to_check: ./.github
uses: ./.github/workflows/checkForChanges.yml
packer_changes:
with:
what_to_check: ./packer
uses: ./.github/workflows/checkForChanges.yml
packer_build:
if: needs.workflow_changes.outputs.has_changes == 'true' || needs.packer_changes.outputs.has_changes == 'true'
runs-on: ubuntu-latest
strategy:
matrix:
include:
- provisioners: ${{ inputs.provisioners }}
steps:
- uses: actions/checkout@v4
- name: Set up Packer
uses: hashicorp/setup-packer@1aa358be5cf73883762b302a3a03abd66e75b232
with:
version: 1.11.2
# Needed for ISO builder
- name: Set up QEMU
uses: docker/setup-qemu-action@4574d27a4764455b42196d70a065bc6853246a25
- name: Run `packer init`
working-directory: ./packer
id: init
run: "packer init ./ubuntu.pkr.hcl"
- name: Run `packer validate`
working-directory: ./packer
id: validate
run: "packer validate ./ubuntu.pkr.hcl"
## TODO: Add matrixed provisioner build here
- name: Build Packer Image
working-directory: ./packer
run: packer build ./ubuntu.pkr.hcl
## TODO: Decide how to export artifact.