mirror of https://github.com/Squidex/squidex.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
961 B
41 lines
961 B
name: Marketplace - AWS
|
|
concurrency: marketplace-aws
|
|
|
|
on:
|
|
release:
|
|
types: [released]
|
|
|
|
jobs:
|
|
validate:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout Repository
|
|
uses: actions/checkout@v2
|
|
- name: Fix Template
|
|
if: false
|
|
uses: hashicorp/packer-github-actions@master
|
|
with:
|
|
command: fix
|
|
- name: Validate Template
|
|
if: false
|
|
uses: hashicorp/packer-github-actions@master
|
|
with:
|
|
command: validate
|
|
arguments: -syntax-only
|
|
target: packer/aws.pkr.hcl
|
|
|
|
publish:
|
|
needs: validate
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout Repository
|
|
uses: actions/checkout@v2
|
|
- name: Build
|
|
if: false
|
|
uses: hashicorp/packer-github-actions@master
|
|
with:
|
|
command: build
|
|
arguments: "-color=false -on-error=abort"
|
|
target: packer/aws.pkr.hcl
|
|
env:
|
|
PACKER_LOG: 1
|
|
|