chore: Debug packer validate workflow step #10
This commit is contained in:
parent
95c14fc385
commit
691dcee21f
@ -78,11 +78,11 @@ jobs:
|
||||
- name: Run `packer validate`
|
||||
id: validate
|
||||
run: |
|
||||
echo "${{ gitea.sha }}" | cut -c 0-10
|
||||
echo "${{ gitea.sha }}" | cut -c 1-10
|
||||
echo "$(openssl rand -hex 3)"
|
||||
packer validate \
|
||||
-only=vsphere-iso.bootstrap \
|
||||
-var vm_name=${{ gitea.run_number }} \
|
||||
-var vm_name=${{ gitea.run_number }}-$(echo "${{ gitea.sha }}" | cut -c 1-10) \
|
||||
-var docker_username=${{ secrets.DOCKER_USERNAME }} \
|
||||
-var docker_password=${{ secrets.DOCKER_PASSWORD }} \
|
||||
-var repo_username=${{ secrets.REPO_USERNAME }} \
|
||||
|
Loading…
Reference in New Issue
Block a user