try dedicated image
Some checks failed
/ non-lab (push) Failing after 0s

This commit is contained in:
Chris Cowley 2024-09-02 14:40:03 +02:00
parent a325ba8f78
commit 6e729575ec

View file

@ -13,20 +13,23 @@ jobs:
with:
sparse-checkout: |
non-lab
- name: Setup OpenTofu
run: |
curl -fsSl https://get.opentofu.org/install-opentofu.sh -o /tmp/install-opentofu.sh
chmod +x /tmp/install-opentofu.sh
/tmp/install-opentofu.sh --install-method deb
rm -f /tmp/install-opentofu.sh
# - name: Setup OpenTofu
# run: |
# curl -fsSl https://get.opentofu.org/install-opentofu.sh -o /tmp/install-opentofu.sh
# chmod +x /tmp/install-opentofu.sh
# /tmp/install-opentofu.sh --install-method deb
# rm -f /tmp/install-opentofu.sh
- name: Setup Kubernetes client
uses: https://code.lab.cowley.tech/homelab/forgejo-opentofu-runner@main
run: |
export B2_APPLICATION_KEY=${{ secrets.B2_APPLICATION_KEY }}
echo ${{ env.B2_APPLICATION_KEY_ID}}
- name: Tofu init
uses: https://code.lab.cowley.tech/homelab/forgejo-opentofu-runner@main
working-directory: ${{ github.workspace }}/non-lab
run: |
export KUBE_CONFIG_PATH="/tmp/kubeconfig"
echo ${{ secrets.KUBE_CONFIG_BASE64 }} | base64 -d > ${KUBE_CONFIG_PATH}
tofu init
- run: echo ${B2_APPLICATION_KEY_ID}
uses: https://code.lab.cowley.tech/homelab/forgejo-opentofu-runner@main