build: Enable packer build step
All checks were successful
Container & Helm chart / Linting (push) Successful in 5s
Container & Helm chart / Semantic Release (Dry-run) (push) Successful in 1m6s
Container & Helm chart / Kubernetes Bootstrap Appliance (push) Successful in 20s

This commit is contained in:
Danny Bessems 2024-06-05 11:28:17 +10:00
parent 6568acf541
commit 6e37fd756b

View File

@ -90,8 +90,20 @@ jobs:
-var k8s_version=${{ steps.get_k8sversion.outputs.result }} \
-var appliance_version=${{ needs.semrel_dryrun.outputs.version }} \
./packer
# - name: Build Artifact
# run: packer build -color=false -on-error=abort ./image.pkr.hcl
- name: Build Artifact
run: |
packer build \
-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_password=${{ secrets.DOCKER_PASSWORD }} \
-var repo_username=${{ secrets.REPO_USERNAME }} \
-var repo_password=${{ secrets.REPO_PASSWORD }} \
-var ssh_password=${{ secrets.SSH_PASSWORD }} \
-var hv_password=${{ secrets.HV_PASSWORD }} \
-var k8s_version=${{ steps.get_k8sversion.outputs.result }} \
-var appliance_version=${{ needs.semrel_dryrun.outputs.version }} \
./packer
# semrel:
# name: Semantic Release