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

This commit is contained in:
Danny Bessems 2024-06-05 12:39:33 +10:00
parent 33cd272d53
commit 95c14fc385

View File

@ -78,11 +78,11 @@ jobs:
- name: Run `packer validate`
id: validate
run: |
echo "gitea: ${{ gitea }}"
echo "gitea.refname: ${{ gitea.refname }}"
echo "gitea.job: ${{ gitea.job }}"
echo "${{ gitea.sha }}" | cut -c 0-10
echo "$(openssl rand -hex 3)"
packer validate \
-only=vsphere-iso.bootstrap \
-var vm_name=${{ gitea.run_number }} \
-var docker_username=${{ secrets.DOCKER_USERNAME }} \
-var docker_password=${{ secrets.DOCKER_PASSWORD }} \
-var repo_username=${{ secrets.REPO_USERNAME }} \