mirror of
https://github.com/cisagov/log4j-affected-db.git
synced 2024-11-22 16:40:48 +00:00
Modify the Packer installation to model that of Terraform
The Terraform installation does not destroy the existing system Terraform installation, and neither should the Packer installation. Co-authored-by: Nick M. <50747025+mcdonnnj@users.noreply.github.com>
This commit is contained in:
parent
70414cff28
commit
b629f7f623
1 changed files with 3 additions and 1 deletions
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
|
@ -69,8 +69,10 @@ jobs:
|
||||||
--time-cond ${{ env.CURL_CACHE_DIR }}/"${PACKER_ZIP}" \
|
--time-cond ${{ env.CURL_CACHE_DIR }}/"${PACKER_ZIP}" \
|
||||||
--location \
|
--location \
|
||||||
"https://releases.hashicorp.com/packer/${PACKER_VERSION}/${PACKER_ZIP}"
|
"https://releases.hashicorp.com/packer/${PACKER_VERSION}/${PACKER_ZIP}"
|
||||||
sudo unzip -o -d /usr/local/bin \
|
sudo unzip -d /opt/packer \
|
||||||
${{ env.CURL_CACHE_DIR }}/"${PACKER_ZIP}"
|
${{ env.CURL_CACHE_DIR }}/"${PACKER_ZIP}"
|
||||||
|
sudo mv /usr/local/bin/packer /usr/local/bin/packer-default
|
||||||
|
sudo ln -s /opt/packer/packer /usr/local/bin/packer
|
||||||
- name: Install Terraform
|
- name: Install Terraform
|
||||||
run: |
|
run: |
|
||||||
TERRAFORM_ZIP="terraform_${TERRAFORM_VERSION}_linux_amd64.zip"
|
TERRAFORM_ZIP="terraform_${TERRAFORM_VERSION}_linux_amd64.zip"
|
||||||
|
|
Loading…
Reference in a new issue