20 lines
309 B
YAML
20 lines
309 B
YAML
image:
|
|
name: hashicorp/packer
|
|
entrypoint: [""]
|
|
|
|
stages:
|
|
- test
|
|
- build
|
|
|
|
test:
|
|
stage: test
|
|
script:
|
|
- apk add --no-cache ansible && packer validate packer.json
|
|
|
|
build:
|
|
stage: build
|
|
script:
|
|
- apk add --no-cache ansible && packer build packer.json
|
|
artifacts:
|
|
paths:
|
|
- rootfs.tar
|