Skip to content

Commit

Permalink
Update hcp-packer.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandrelamberty authored Jan 7, 2024
1 parent 62ec242 commit d6e16d0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/hcp-packer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@ jobs:
version: "latest"
- name: Run `packer init`
id: init
run: "packer init ./image.pkr.hcl"
run: "packer init ./build.pkr.hcl"
- name: Run `packer validate`
id: validate
run: "packer validate ./image.pkr.hcl"
run: "packer validate ./build.pkr.hcl"

- name: Build Artifact
run: packer build -color=false -on-error=abort ./image.pkr.hcl
run: packer build -color=false -on-error=abort ./build.pkr.hcl
env:
HCP_CLIENT_ID: ${{ secrets.HCP_CLIENT_ID }}
HCP_CLIENT_SECRET: ${{ secrets.HCP_CLIENT_SECRET }}
Expand Down

0 comments on commit d6e16d0

Please sign in to comment.