Skip to content

Commit

Permalink
Update ci/cd pipeline (#14)
Browse files Browse the repository at this point in the history
* Update ci pipeline

* Update cd pipeline
  • Loading branch information
tomdewildt authored Jan 8, 2023
1 parent 2ce42de commit 6271df0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
- name: Setup os
run: sudo apt-get install qemu-user-static -y
- name: Setup env
run: echo "$(echo '${{ toJSON(secrets) }}' | jq -r 'to_entries[]|"\(.key[:8])\(.key[8:]|ascii_downcase)=\(.value)"')" >> $GITHUB_ENV
run: echo "$(echo '${{ toJSON(secrets) }}' | jq -r 'to_entries[]|select(.key|contains("PKR_VAR"))|"\(.key[:8])\(.key[8:]|ascii_downcase)=\(.value)"')" >> $GITHUB_ENV
- name: Setup packer
uses: hashicorp/setup-packer@v2.0.0
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
- name: Setup os
run: sudo apt-get install qemu-user-static -y
- name: Setup env
run: echo "$(echo '${{ toJSON(secrets) }}' | jq -r 'to_entries[]|"\(.key[:8])\(.key[8:]|ascii_downcase)=\(.value)"')" >> $GITHUB_ENV
run: echo "$(echo '${{ toJSON(secrets) }}' | jq -r 'to_entries[]|select(.key|contains("PKR_VAR"))|"\(.key[:8])\(.key[8:]|ascii_downcase)=\(.value)"')" >> $GITHUB_ENV
- name: Setup packer
uses: hashicorp/setup-packer@v2.0.0
with:
Expand Down

0 comments on commit 6271df0

Please sign in to comment.