Skip to content

fix: push path

fix: push path #1

name: Build Image Factory VM
on:
push:
paths:

Check failure on line 5 in .github/workflows/packer-build-if-vm.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/packer-build-if-vm.yml

Invalid workflow file

You have an error in your yaml syntax on line 5
- "".github/workflows/packer-build-if-vm.yml"
- "images/packer/image-factory-vm"
workflow_dispatch:
jobs:
packer-build:
runs-on: ubuntu-latest
env:
IMAGE_NAME: "image-factory-runner"
IMAGE_TAG: "${{ github.run_number }}"
IMAGE_FOLDER: "images/docker/image-factory-runner"
REGISTRY: ${{ secrets.REGISTRY }}
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Test jinja action
uses: cuchi/[email protected]
with:
template: images/packer/image-factory-vm/values.auto.pkrvars.hcl.j2
output_file: images/packer/image-factory-vm/test.auto.pkrvars.hcl
variables: |
location="test"
resource_group="$IMAGE_NAME"
gallery_name="test"