chore: Debug packer validate workflow step #4
Some checks failed
Container & Helm chart / Linting (push) Successful in 5s
Container & Helm chart / Semantic Release (Dry-run) (push) Successful in 39s
Container & Helm chart / Kubernetes Bootstrap Appliance (push) Failing after 19s

This commit is contained in:
Danny Bessems 2024-06-05 12:14:46 +10:00
parent 34af03ca99
commit 4dc5a6ed39

View File

@ -80,12 +80,10 @@ jobs:
run: | run: |
echo ${{ gitea }} echo ${{ gitea }}
echo ${{ gitea.job }} echo ${{ gitea.job }}
echo ${{ gitea.sha:0:10 }}
echo $(openssl rand -hex 3) echo $(openssl rand -hex 3)
packer validate \ packer validate \
-only=vsphere-iso.bootstrap \ -only=vsphere-iso.bootstrap \
-var vm_name=${{ gitea.job }}-${{ gitea.sha:0:10 }}-$(openssl rand -hex 3) \
-var docker_username=${{ secrets.DOCKER_USERNAME }} \ -var docker_username=${{ secrets.DOCKER_USERNAME }} \
-var docker_password=${{ secrets.DOCKER_PASSWORD }} \ -var docker_password=${{ secrets.DOCKER_PASSWORD }} \
-var repo_username=${{ secrets.REPO_USERNAME }} \ -var repo_username=${{ secrets.REPO_USERNAME }} \