packer-proxmox/.woodpecker/test.yml

18 lines
386 B
YAML
Raw Normal View History

2024-01-14 20:08:05 +00:00
---
when:
- event: [pull_request, tag]
- event: [push, manual]
branch:
- ${CI_REPO_DEFAULT_BRANCH}
steps:
- name: git-spaces
image: quay.io/thegeeklab/alpine-tools
commands:
- git diff-tree --check $(git hash-object -t tree /dev/null) HEAD
- name: packer
image: docker.io/hashicorp/packer
commands:
- packer fmt -recursive -check -diff .