Closed oxr463 closed 2 years ago
@outzhu can you rewrite this PR to use this? https://github.com/hashicorp/packer-github-actions/issues/23#issuecomment-863526481
Like this?
on:
push:
build_container:
name: packer
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v2
- name: packer validate
# uses: hashicorp/packer-github-actions@master
run: packer validate -syntax-only
- name: packer build
# uses: hashicorp/packer-github-actions@master
run: packer build -color=false -on-error=abort .
env:
PACKER_LOG: 1
Yep, let's try it.
Reference(s):