Skip to content

Commit

Permalink
build: update and rename hcp-packer.yml to packer.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandrelamberty committed Jun 17, 2024
1 parent 238a933 commit 3d4dcfa
Showing 1 changed file with 7 additions and 12 deletions.
19 changes: 7 additions & 12 deletions .github/workflows/hcp-packer.yml → .github/workflows/packer.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
name: hcp-packer
name: Packer CI

on:
push:
branches:
- "master"
- "develop/**"
- "releases/**"
- "features/**"
- "develop"
- "release/**"
- "feature/**"
pull_request:
branches: ["master", "staging"]
branches:
- "master"
- "staging"
workflow_dispatch:

jobs:
Expand All @@ -29,10 +31,3 @@ jobs:
- name: Run `packer validate`
id: validate
run: "packer validate ."

- name: Build Artifact
run: packer build -color=false -on-error=abort .
env:
HCP_CLIENT_ID: ${{ secrets.HCP_CLIENT_ID }}
HCP_CLIENT_SECRET: ${{ secrets.HCP_CLIENT_SECRET }}
HCP_PACKER_BUILD_FINGERPRINT: "run.id.${{ github.run_id }}.run.attempt.${{ github.run_attempt }}"

0 comments on commit 3d4dcfa

Please sign in to comment.