diff --git a/.github/workflows/terraform-apply-env.yml b/.github/workflows/terraform-apply-env.yml index d50ffd12b..3eea24fe0 100644 --- a/.github/workflows/terraform-apply-env.yml +++ b/.github/workflows/terraform-apply-env.yml @@ -31,11 +31,9 @@ jobs: apt-get install -y zip python # Install CF CLI - mkdir -p /etc/apt/keyrings/ - wget -q -O - https://packages.cloudfoundry.org/debian/cli.cloudfoundry.org.key | gpg --dearmor | tee /etc/apt/trusted.gpg.d/cf.gpg > /dev/null - echo "deb https://packages.cloudfoundry.org/debian stable main" | tee /etc/apt/sources.list.d/cloudfoundry-cli.list - apt-get update && DEBIAN_FRONTEND=noninteractive - apt-get install --assume-yes cf8-cli + curl -k -O -L https://github.com/cloudfoundry/cli/releases/download/v8.8.0/cf8-cli-installer_8.8.0_x86-64.deb + apt-get install --assume-yes ./cf8-cli-installer_8.8.0_x86-64.deb + cf api api.fr.cloud.gov cf auth ${{ secrets.CF_USERNAME }} ${{ secrets.CF_PASSWORD }} TF_VAR_postgrest_image: 'ghcr.io/gsa-tts/fac/postgrest:latest' diff --git a/.github/workflows/terraform-plan-env.yml b/.github/workflows/terraform-plan-env.yml index a52e084c0..6305a3ba9 100644 --- a/.github/workflows/terraform-plan-env.yml +++ b/.github/workflows/terraform-plan-env.yml @@ -26,11 +26,9 @@ jobs: apt-get install -y zip python # Install CF CLI - mkdir -p /etc/apt/keyrings/ - wget -q -O - https://packages.cloudfoundry.org/debian/cli.cloudfoundry.org.key | gpg --dearmor | tee /etc/apt/trusted.gpg.d/cf.gpg > /dev/null - echo "deb https://packages.cloudfoundry.org/debian stable main" | tee /etc/apt/sources.list.d/cloudfoundry-cli.list - apt-get update && DEBIAN_FRONTEND=noninteractive - apt-get install --assume-yes cf8-cli + curl -k -O -L https://github.com/cloudfoundry/cli/releases/download/v8.8.0/cf8-cli-installer_8.8.0_x86-64.deb + apt-get install --assume-yes ./cf8-cli-installer_8.8.0_x86-64.deb + cf api api.fr.cloud.gov cf auth ${{ secrets.CF_USERNAME }} ${{ secrets.CF_PASSWORD }} TF_VAR_postgrest_image: 'ghcr.io/gsa-tts/fac/postgrest:latest'