Skip to content

chore(main): release 4.5.0 (#3524) #3

chore(main): release 4.5.0 (#3524)

chore(main): release 4.5.0 (#3524) #3

Workflow file for this run

name: "Packer checks"
on:
push:
branches:
- main
pull_request:
paths:
- "images/**"
- ".github/workflows/packer-build.yml"
- "module/runners/templates/**"
env:
AWS_REGION: eu-west-1
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
jobs:
verify_packer:
name: Verify packer
runs-on: ubuntu-latest
container:
image: index.docker.io/hashicorp/packer@sha256:297bbbbbbf3ce9e0431ac1e8f02934b20e1197613f877b55dfdb1ebfd94eb748 # ratchet:index.docker.io/hashicorp/packer:1.8.6
strategy:
matrix:
image: ["linux-amzn2", "windows-core-2019", "windows-core-2022", "ubuntu-focal", "ubuntu-jammy", "ubuntu-jammy-arm64"]
defaults:
run:
working-directory: images/${{ matrix.image }}
steps:
- name: "Checkout"
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # ratchet:actions/checkout@v4
- name: packer init
run: packer init .
- name: check packer formatting
run: packer fmt -recursive -check=true .
- name: packer validate
run: packer validate -evaluate-datasources .