terraform fmt #10
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Update Ubuntu Image on Content Library" | ||
on: | ||
workflow_dispatch: | ||
jobs: | ||
update-img: | ||
container: ubuntu:latest | ||
runs-on: [self-hosted, linux, x64] | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Setup environement | ||
run: apt update -y && apt install -y curl tar jq && curl -L -o - "https://github.com/vmware/govmomi/releases/latest/download/govc_$(uname -s)_$(uname -m).tar.gz" | tar -C /usr/local/bin -xvzf - govc | ||
- name: Make the script file executable | ||
run: chmod +x scripts/update-ubuntu-ova.sh | ||
- name: Run the script | ||
<<<<<<< HEAD | ||
run: bash scripts/update-ubuntu-ova | ||
env: | ||
GOVC_URL: "https://vcneter.homelab.lan" | ||
======= | ||
run: bash scripts/update-ubuntu-ova.sh | ||
env: | ||
GOVC_URL: "https://vcenter.homelab.lan" | ||
>>>>>>> d2e7460b8e81bd7e4e751003179ba1b8993fdbdb | ||
GOVC_USERNAME: ${{ secrets.VSPHERE_USER }} | ||
GOVC_PASSWORD: ${{ secrets.VSPHERE_PASSWORD }} | ||
GOVC_INSECURE: "true" | ||