Skip to content

Terraform managed file #117

Terraform managed file

Terraform managed file #117

Workflow file for this run

on:
push:
branches:
- 'main'
- 'build-*'
tags:
- 'desktop-v*'
- 'utility-v*'
jobs:
sync-vagrant-vmware-desktop:
if: github.repository == 'hashicorp/vagrant-vmware-desktop-builder'
runs-on: ['self-hosted', 'ondemand', 'linux', 'type=t3.small']
permissions:
id-token: write
contents: write
steps:
- name: Authentication
id: vault-auth
run: vault-auth
- name: Secrets
id: secrets
uses: hashicorp/vault-action@v2
with:
url: ${{ steps.vault-auth.outputs.addr }}
caCertificate: ${{ steps.vault-auth.outputs.ca_certificate }}
token: ${{ steps.vault-auth.outputs.token }}
secrets:
kv/data/github/hashicorp/vagrant-vmware-desktop-builder vagrant_vmware_desktop_repo_token;
- name: Code Checkout
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
with:
persist-credentials: false
fetch-depth: 0
- name: Sync vagrant-vmware-desktop Repository
run: ./.ci/sync.sh
env:
HASHIBOT_TOKEN: ${{ steps.secrets.outputs.vagrant_vmware_desktop_repo_token }}
HASHIBOT_USERNAME: ${{ vars.HASHIBOT_USERNAME }}
sync-vagrant-vmware-desktop-builder:
if: github.repository == 'hashicorp/vagrant-vmware-desktop'
runs-on: ubuntu-latest
steps:
- name: Code Checkout
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
with:
persist-credentials: false
fetch-depth: 0
- name: Sync vagrant-vmware-desktop-builder Repository
run: ./.ci/sync.sh
env:
HASHIBOT_TOKEN: ${{ secrets.HASHIBOT_TOKEN }}
HASHIBOT_USERNAME: ${{ vars.HASHIBOT_USERNAME }}